MDL-34640: adding code to pass contextid and question type to question_file_loader.
This commit is contained in:
committed by
Tim Hunt
parent
8a1e7b7756
commit
d0782585c8
@@ -1285,7 +1285,7 @@ class question_attempt {
|
||||
$autosavedsequencenumber = null;
|
||||
while ($record && $record->questionattemptid == $questionattemptid && !is_null($record->attemptstepid)) {
|
||||
$sequencenumber = $record->sequencenumber;
|
||||
$nextstep = question_attempt_step::load_from_records($records, $record->attemptstepid);
|
||||
$nextstep = question_attempt_step::load_from_records($records, $record->attemptstepid, $qa->get_question(), $record->contextid);
|
||||
|
||||
if ($sequencenumber < 0) {
|
||||
if (!$autosavedstep) {
|
||||
|
||||
Reference in New Issue
Block a user