gradebook MDL-24021 re-added all users option to user report

This commit is contained in:
Andrew Davis 2010-09-02 04:09:31 +00:00
parent 090417c109
commit f914e8d3cf

View File

@ -123,7 +123,8 @@ if (has_capability('moodle/grade:viewall', $context)) { //Teachers will see all
if ($user_selector) {
$renderer = $PAGE->get_renderer('gradereport_user');
echo $renderer->graded_users_selector('user', $course, $userid, $currentgroup, false);
$showallusersoptions = true;
echo $renderer->graded_users_selector('user', $course, $userid, $currentgroup, $showallusersoptions);
}
if ($currentgroup and !groups_is_member($currentgroup, $userid)) {