Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-36897 quiz review: fixup previous commit.

  • Loading branch information...
commit d8a7ef0e427467f2d3396366c1c4e54591b602c3 1 parent 50c88ad
@timhunt timhunt authored
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');
}
Please sign in to comment.
Something went wrong with that request. Please try again.