From: mark-nielsen Date: Fri, 25 Aug 2006 22:53:17 +0000 (+0000) Subject: Merged bug fix for bug MDL-6323 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=c87a341cb9bc97808d561c6f4025d1c7932b71d9;p=moodle.git Merged bug fix for bug MDL-6323 --- diff --git a/mod/lesson/locallib.php b/mod/lesson/locallib.php index f4dbf8fb6b..b7833ff546 100644 --- a/mod/lesson/locallib.php +++ b/mod/lesson/locallib.php @@ -245,7 +245,7 @@ function lesson_save_question_options($question) { $answer->timecreated = $timenow; $answer->grade = $question->fraction[$key] * 100; $answer->answer = $dataanswer; - $answer->feedback = $question->feedback[$key]; + $answer->response = $question->feedback[$key]; if (!$answer->id = insert_record("lesson_answers", $answer)) { $result->error = "Could not insert shortanswer quiz answer!"; return $result;