quiz results block: MDL-17137 block_quiz_results: manager links to group/overview are wrong.

Eloy told me exactly what to change. I don't know why he did not commit the fix himself!
This commit is contained in:
tjhunt 2008-11-06 06:13:09 +00:00
parent 9d07ec29dc
commit 3d05fc1365

View file

@ -178,7 +178,7 @@ class block_quiz_results extends block_base {
if ($nameformat = B_QUIZRESULTS_NAME_FORMAT_FULL) {
if (has_capability('moodle/course:managegroups', $context)) {
$grouplink = $CFG->wwwroot.'/group/overview.php?courseid='.$courseid.'&id=';
$grouplink = $CFG->wwwroot.'/group/overview.php?id='.$courseid.'&group=';
} else if (has_capability('moodle/course:viewparticipants', $context)) {
$grouplink = $CFG->wwwroot.'/user/index.php?id='.$courseid.'&group=';
} else {