Skip to content

Commit

Permalink
qtype_multichoice MDL-25208 another problem with editing.
Browse files Browse the repository at this point in the history
Thanks to Patrick Pollet for spotting this.
  • Loading branch information
timhunt committed Nov 19, 2010
1 parent b81653e commit 6680966
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 @@ -74,7 +74,7 @@ function save_question_options($question) {
if (is_array($answerdata)) {
// Doing an import
$answer->answer = $this->import_or_save_files($answerdata,
$context, 'question', 'answerfeedback', $answer->id);
$context, 'question', 'answer', $answer->id);
$answer->answerformat = $answerdata['format'];
} else {
// Saving the form
Expand Down

0 comments on commit 6680966

Please sign in to comment.