Merge branch 'MDL-82797_405' of https://github.com/cwarwicker/moodle into MOODLE_405_STABLE

This commit is contained in:
Mihail Geshoski
2025-06-17 14:59:52 +08:00
+2 -2
View File
@@ -312,8 +312,8 @@ class qformat_default {
// function to handle this question
foreach (question_bank::get_all_qtypes() as $qtype) {
if (method_exists($qtype, $methodname)) {
if ($question = $qtype->$methodname($data, $question, $this, $extra)) {
return $question;
if ($importedquestion = $qtype->$methodname($data, $question, $this, $extra)) {
return $importedquestion;
}
}
}