Browse files

MDL-36897 quiz review: fixup previous commit.

  • Loading branch information...
1 parent 50c88ad commit d8a7ef0e427467f2d3396366c1c4e54591b602c3 @timhunt timhunt committed Dec 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/quiz/summary.php
View
2 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 d8a7ef0

Please sign in to comment.