MDL-25104, fixed answertext in mulitchoice questoin type
This commit is contained in:
@@ -71,7 +71,7 @@ class question_multichoice_qtype extends default_questiontype {
|
||||
$answer->id = $DB->insert_record('question_answers', $answer);
|
||||
}
|
||||
|
||||
$answer->answer = $answerdata;
|
||||
$answer->answer = $answerdata['text'];
|
||||
$answer->answerformat = FORMAT_HTML;
|
||||
$answer->fraction = $question->fraction[$key];
|
||||
$answer->feedback = $this->import_or_save_files($question->feedback[$key],
|
||||
|
||||
Reference in New Issue
Block a user