This commit is contained in:
Jun Pataleta 2024-12-05 12:35:52 +08:00
commit e9cded4559
No known key found for this signature in database
GPG key ID: F83510526D99E2C7

View file

@ -169,7 +169,7 @@ class provider implements
]); ]);
foreach ($quba->get_attempt_iterator() as $qa) { foreach ($quba->get_attempt_iterator() as $qa) {
$question = $qa->get_question(false); $question = $qa->get_question();
$slotno = $qa->get_slot(); $slotno = $qa->get_slot();
$questionnocontext = array_merge($questionscontext, [$slotno]); $questionnocontext = array_merge($questionscontext, [$slotno]);
@ -302,7 +302,7 @@ class provider implements
$step->get_id() $step->get_id()
); );
$stepdata->comment = $qa->get_behaviour(false)->format_comment($comment, $commentformat); $stepdata->comment = $qa->get_behaviour()->format_comment($comment, $commentformat);
} }
// Export any response files associated with this step. // Export any response files associated with this step.