mirror of
https://github.com/moodle/moodle.git
synced 2025-07-25 08:11:39 +02:00
Fixes bug 5464 also makes response clearer to students -see:
http://moodle.org/mod/forum/discuss.php?d=45504 also finishes off Bug 662
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user