Skip to content

Commit

Permalink
Merge branch 'MDL-32438-master' of git://github.com/micaherne/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Apr 16, 2012
2 parents 04b16ed + b09912f commit 5599620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/choice/lib.php
Expand Up @@ -295,7 +295,7 @@ function choice_user_submit_response($formanswer, $choice, $userid, $course, $cm
$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;
Expand Down

0 comments on commit 5599620

Please sign in to comment.