mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Merge branch 'MDL-32438-master' of git://github.com/micaherne/moodle
This commit is contained in:
commit
5599620feb
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ WHERE
|
||||||
$DB->update_record("choice_answers", $newanswer);
|
$DB->update_record("choice_answers", $newanswer);
|
||||||
add_to_log($course->id, "choice", "choose again", "view.php?id=$cm->id", $choice->id, $cm->id);
|
add_to_log($course->id, "choice", "choose again", "view.php?id=$cm->id", $choice->id, $cm->id);
|
||||||
} else {
|
} else {
|
||||||
$newanswer = stdClass();
|
$newanswer = new stdClass();
|
||||||
$newanswer->choiceid = $choice->id;
|
$newanswer->choiceid = $choice->id;
|
||||||
$newanswer->userid = $userid;
|
$newanswer->userid = $userid;
|
||||||
$newanswer->optionid = $formanswer;
|
$newanswer->optionid = $formanswer;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue