Permalink
Browse files

Merge branch 'MDL-60776-33' of git://github.com/sarjona/moodle into M…

…OODLE_33_STABLE
  • Loading branch information...
dmonllao committed Jan 15, 2018
2 parents d251a46 + 879c847 commit 0c496132cf829fc3596db03f8bd8d8019e5909b5
Showing with 3 additions and 4 deletions.
  1. +3 −4 enrol/users.php
@@ -194,11 +194,10 @@
$a->firstname = 'firstname';
$a->lastname = 'lastname';
// Getting the fullname display will ensure that the order in the language file is maintained.
$usernameheader = explode(' ', get_string('fullnamedisplay', null, $a));
} else {
// If everything is as expected then put them in the order specified by the alternative full name format setting.
$usernameheader = order_in_string($allusernames, $fullusernames);
$fullusernames = get_string('fullnamedisplay', null, $a);
}
// If everything is as expected then put them in the order specified by the alternative full name format setting.
$usernameheader = order_in_string($allusernames, $fullusernames);
// Loop through each name and return the language string.
foreach ($usernameheader as $key => $username) {

0 comments on commit 0c49613

Please sign in to comment.