mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
Merged from stable
This commit is contained in:
parent
cb998489a2
commit
fc44ee0de8
17 changed files with 307 additions and 414 deletions
|
@ -18,8 +18,7 @@
|
|||
$stateid = optional_param('state', 0, PARAM_INT); // state id
|
||||
$attemptid = optional_param('attempt', 0, PARAM_INT); // attempt id
|
||||
$questionid = optional_param('question', 0, PARAM_INT); // attempt id
|
||||
|
||||
$number = required_param('number', PARAM_INT); // question number
|
||||
$number = optional_param('number', 0, PARAM_INT); // question number
|
||||
|
||||
if ($stateid) {
|
||||
if (! $state = get_record('quiz_states', 'id', $stateid)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue