missing global $USER

This commit is contained in:
Petr Skoda 2010-09-17 19:07:00 +00:00
parent 52f1a9ff91
commit f951066758

View File

@ -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;
}