Merge branch 'MDL-83727-404' of https://github.com/NashTechOpenUniversity/moodle into MOODLE_404_STABLE

This commit is contained in:
Jun Pataleta 2024-12-05 12:36:00 +08:00
commit 16f8d04930
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) {
$question = $qa->get_question(false);
$question = $qa->get_question();
$slotno = $qa->get_slot();
$questionnocontext = array_merge($questionscontext, [$slotno]);
@ -302,7 +302,7 @@ class provider implements
$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.