Merge branch 'MDL-79279' of https://github.com/timhunt/moodle into MOODLE_403_STABLE

This commit is contained in:
Ilya Tregubov
2023-10-10 11:20:58 +08:00
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -541,6 +541,8 @@ class qformat_xml extends qformat_default {
$qo->questiontext .= ' <img src="@@PLUGINFILE@@/' . $filename . '" />';
}
$qo->idnumber = $this->getpath($question, ['#', 'idnumber', 0, '#'], null);
// Restore files in generalfeedback.
$generalfeedback = $this->import_text_with_files($question,
array('#', 'generalfeedback', 0), '', $this->get_format($qo->questiontextformat));