Permalink
Browse files

MDL-36897 quiz review: fixup previous commit.

  • Loading branch information...
1 parent 7192907 commit 347a5af6a2f9cc417ff60734c9a7637c41524b6b @timhunt timhunt committed Dec 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/quiz/summary.php
@@ -39,7 +39,7 @@
// Check that this attempt belongs to this user.
if ($attemptobj->get_userid() != $USER->id) {
if ($attemptobj->has_capability('mod/quiz:viewreports')) {
- redirect($attemptobj->review_url(null, $page));
+ redirect($attemptobj->review_url(null));
} else {
throw new moodle_quiz_exception($attemptobj->get_quizobj(), 'notyourattempt');
}

0 comments on commit 347a5af

Please sign in to comment.