qtype multichoice MDL-25208 Saving questions was broken.

This commit is contained in:
Tim Hunt
2010-11-15 17:17:48 +00:00
parent f81f513325
commit 8b1e050bd0
+1 -1
View File
@@ -72,7 +72,7 @@ class question_multichoice_qtype extends default_questiontype {
}
$answer->answer = $answerdata;
$answer->answer = FORMAT_HTML;
$answer->answerformat = FORMAT_HTML;
$answer->fraction = $question->fraction[$key];
$answer->feedback = $this->import_or_save_files($question->feedback[$key],
$context, 'question', 'answerfeedback', $answer->id);