Skip to content
Permalink
Browse files

Merge branch 'w03_MDL-37559_m24_otherusers' of git://github.com/skoda…

…k/moodle into MOODLE_24_STABLE
  • Loading branch information...
Aparup Banerjee
Aparup Banerjee committed Jan 21, 2013
2 parents 3396c40 + 55fc886 commit 72389d113328f775fc70f2a02b0cc713c9845ac3
Showing with 3 additions and 1 deletion.
  1. +3 −1 enrol/locallib.php
@@ -840,7 +840,9 @@ public function get_other_users_for_display(core_enrol_renderer $renderer, moodl
break;
}
}
$users[$userrole->id]['roles'] = array();
if (!isset($users[$userrole->id]['roles'])) {
$users[$userrole->id]['roles'] = array();
}
$users[$userrole->id]['roles'][$userrole->roleid] = array(
'text' => $roletext,
'unchangeable' => !$changeable

0 comments on commit 72389d1

Please sign in to comment.
You can’t perform that action at this time.