Skip to content

Commit

Permalink
Merge branch 'MDL-20607' of git://github.com/arborrow/moodle into MOO…
Browse files Browse the repository at this point in the history
…DLE_19_STABLE
  • Loading branch information
skodak committed Jan 10, 2011
2 parents af77892 + eddf533 commit bffe6c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/accesslib.php
Original file line number Diff line number Diff line change
Expand Up @@ -5011,7 +5011,7 @@ function sort_by_roleassignment_authority($users, $context, $roles=array(), $sor
* @param bool gethidden - whether to fetch hidden enrolments too
* @return array()
*/
function get_role_users($roleid, $context, $parent=false, $fields='', $sort='u.lastname ASC', $gethidden=true, $group='', $limitfrom='', $limitnum='') {
function get_role_users($roleid, $context, $parent=false, $fields='', $sort='u.lastname ASC, u.firstname ASC', $gethidden=true, $group='', $limitfrom='', $limitnum='') {
global $CFG;

if (empty($fields)) {
Expand Down

0 comments on commit bffe6c2

Please sign in to comment.