Permalink
Browse files

Merge branch 'MDL-36897_23' of git://github.com/timhunt/moodle into M…

…OODLE_23_STABLE
  • Loading branch information...
2 parents 9391d2f + d8a7ef0 commit 137d63fe966f8b78abda60afba8254b9548833dc @danpoltawski danpoltawski committed Dec 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/quiz/summary.php
View
@@ -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 137d63f

Please sign in to comment.