Skip to content

Commit

Permalink
missing global $USER
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Sep 17, 2010
1 parent 52f1a9f commit f951066
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions grade/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,8 @@ function print_graded_users_selector($course, $actionpage, $userid=0, $groupid=0
}

function grade_get_graded_users_select($report, $course, $userid, $groupid, $includeall) {
global $USER;

if (is_null($userid)) {
$userid = $USER->id;
}
Expand Down

0 comments on commit f951066

Please sign in to comment.