mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
missing global $USER
This commit is contained in:
parent
52f1a9ff91
commit
f951066758
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user