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:14:12 +00:00
parent 2d2955bc70
commit 557caae4eb
+1 -1
View File
@@ -185,7 +185,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 {