Permalink
Browse files

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

…OODLE_22_STABLE
  • Loading branch information...
2 parents 3c88578 + 347a5af commit fb7bc97d3e1f49906bb68cb87225cdaebe96cc99 @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 fb7bc97

Please sign in to comment.