Skip to content

Commit

Permalink
MDL-25104, fixed answertext in mulitchoice questoin type
Browse files Browse the repository at this point in the history
  • Loading branch information
Dongsheng Cai committed Nov 18, 2010
1 parent 35eed0c commit 2675ca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion question/type/multichoice/questiontype.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function save_question_options($question) {
$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],
Expand Down

0 comments on commit 2675ca5

Please sign in to comment.