Merge branch 'MDL-82797_405' of https://github.com/cwarwicker/moodle into MOODLE_405_STABLE
This commit is contained in:
+2
-2
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user