Commit 5599620f authored by Dan Poltawski's avatar Dan Poltawski
Browse files

Merge branch 'MDL-32438-master' of git://

parents 04b16edb b09912f8
......@@ -295,7 +295,7 @@ WHERE
$DB->update_record("choice_answers", $newanswer);
add_to_log($course->id, "choice", "choose again", "view.php?id=$cm->id", $choice->id, $cm->id);
} else {
$newanswer = stdClass();
$newanswer = new stdClass();
$newanswer->choiceid = $choice->id;
$newanswer->userid = $userid;
$newanswer->optionid = $formanswer;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment