mirror of
https://github.com/moodle/moodle.git
synced 2025-02-15 21:36:58 +01:00
Merged bug fix for bug MDL-6323
This commit is contained in:
parent
426a369bfa
commit
c87a341cb9
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user