Skip to content

Commit

Permalink
fixed one more missing global
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Sep 17, 2010
1 parent 343d358 commit 707c9e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/accesslib.php
Original file line number Diff line number Diff line change
Expand Up @@ -5856,6 +5856,8 @@ function is_contextpath_dirty($pathcontexts, $dirty) {
* @return array $role->sortorder =-> $role->id with the keys in ascending order.
*/
function fix_role_sortorder($allroles) {
global $DB;

$rolesort = array();
$i = 0;
foreach ($allroles as $role) {
Expand Down

0 comments on commit 707c9e8

Please sign in to comment.