qtype multichoice MDL-25208 Saving questions was broken.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user