Skip to content

Commit

Permalink
Fixes bug 5464 also makes response clearer to students -see:
Browse files Browse the repository at this point in the history
  • Loading branch information
danmarsden committed May 15, 2006
1 parent 200460b commit fc41002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/choice/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
}

//if user has already made a selection, and they are not allowed to update it, show their selected answer.
if (isset($USER->id) && ($current = get_record('choice_answers', 'choiceid', $choice->id, 'userid', $USER->id)) && !$choice->allowupdate) {
if (isset($USER->id) && ($current = get_record('choice_answers', 'choiceid', $choice->id, 'userid', $USER->id))) {
print_simple_box(get_string("yourselection", "choice", userdate($choice->timeopen)).": ".format_string(choice_get_option_text($choice, $current->optionid)), "center");
}

Expand Down

0 comments on commit fc41002

Please sign in to comment.