Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-38647 quiz review question issue

Page URL should contain 'step=0' if necessary, but not 'step='.
  • Loading branch information...
commit f466f71902e12da246cab41fc5c29bffe76b422d 1 parent 8bb0c27
@timhunt timhunt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/quiz/reviewquestion.php
View
2  mod/quiz/reviewquestion.php
@@ -35,7 +35,7 @@
$baseurl = new moodle_url('/mod/quiz/reviewquestion.php',
array('attempt' => $attemptid, 'slot' => $slot));
$currenturl = new moodle_url($baseurl);
-if ($seq !== 0) {
+if (!is_null($seq)) {
$currenturl->param('step', $seq);
}
$PAGE->set_url($currenturl);
Please sign in to comment.
Something went wrong with that request. Please try again.