Merge branch 'MDL-38647_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE

This commit is contained in:
Eloy Lafuente (stronk7)
2013-03-26 23:24:00 +01:00
+1 -1
View File
@@ -35,7 +35,7 @@ $seq = optional_param('step', null, PARAM_INT);
$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);