From 26f09e62e7ed643c14236b943a8fdbb2bc4211cf Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Thu, 18 Nov 2010 23:43:12 +0000 Subject: [PATCH] qtype multichoice MDL-25208 and another problem with saving Multiple choice questions. --- question/type/multichoice/questiontype.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/question/type/multichoice/questiontype.php b/question/type/multichoice/questiontype.php index fdebfbc8e3c..c5261192147 100644 --- a/question/type/multichoice/questiontype.php +++ b/question/type/multichoice/questiontype.php @@ -124,10 +124,10 @@ class question_multichoice_qtype extends default_questiontype { $options->correctfeedback = $this->import_or_save_files($question->correctfeedback, $context, 'qtype_multichoice', 'correctfeedback', $question->id); $options->correctfeedbackformat = $question->correctfeedback['format']; - $options->partiallycorrectfeedback = $this->import_or_save_files($question->correctfeedback, + $options->partiallycorrectfeedback = $this->import_or_save_files($question->partiallycorrectfeedback, $context, 'qtype_multichoice', 'partiallycorrectfeedback', $question->id); $options->partiallycorrectfeedbackformat = $question->partiallycorrectfeedback['format']; - $options->incorrectfeedback = $this->import_or_save_files($question->correctfeedback, + $options->incorrectfeedback = $this->import_or_save_files($question->incorrectfeedback, $context, 'qtype_multichoice', 'incorrectfeedback', $question->id); $options->incorrectfeedbackformat = $question->incorrectfeedback['format']; -- 2.43.0