Skip to content

Commit

Permalink
quiz results block: MDL-17137 block_quiz_results: manager links to gr…
Browse files Browse the repository at this point in the history
…oup/overview are wrong.

Eloy told me exactly what to change. I don't know why he did not commit the fix himself!
  • Loading branch information
tjhunt committed Nov 6, 2008
1 parent 9d07ec2 commit 3d05fc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/quiz_results/block_quiz_results.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ function get_content() {

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 {
Expand Down

0 comments on commit 3d05fc1

Please sign in to comment.