MDL-28438 Aiken question import broken since MDL-24594.
[moodle.git] / question / format.php
index 8cdbfbd..71e182e 100644 (file)
@@ -595,7 +595,9 @@ class qformat_default {
         $question->image = "";
         $question->usecase = 0;
         $question->multiplier = array();
+        $question->questiontextformat = FORMAT_MOODLE;
         $question->generalfeedback = '';
+        $question->generalfeedbackformat = FORMAT_MOODLE;
         $question->correctfeedback = '';
         $question->partiallycorrectfeedback = '';
         $question->incorrectfeedback = '';