mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 02:46:40 +02:00
Merge branch 'MDL-34451_23' of git://github.com/merrill-oakland/moodle into MOODLE_23_STABLE
This commit is contained in:
commit
fd59a1780b
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ if ($attemptobj->get_currentpage() != $page) {
|
||||||
// Prevent out of sequence access.
|
// Prevent out of sequence access.
|
||||||
redirect($attemptobj->start_attempt_url(null, $attemptobj->get_currentpage()));
|
redirect($attemptobj->start_attempt_url(null, $attemptobj->get_currentpage()));
|
||||||
}
|
}
|
||||||
$DB->set_field('quiz_attempts', 'currentpage', $page);
|
$DB->set_field('quiz_attempts', 'currentpage', $page, array('id' => $attemptid));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Initialise the JavaScript.
|
// Initialise the JavaScript.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue