From 019c47d6c1bb33491bc7fc0f5d2f6634db70ffe2 Mon Sep 17 00:00:00 2001 From: danmarsden Date: Mon, 15 May 2006 23:24:42 +0000 Subject: [PATCH] Fixes bug 5464 also makes response clearer to students -see: http://moodle.org/mod/forum/discuss.php?d=45504 also finishes off Bug 662 --- mod/choice/view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/choice/view.php b/mod/choice/view.php index b9f06cf791..7e5b6bc8e7 100644 --- a/mod/choice/view.php +++ b/mod/choice/view.php @@ -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"); } -- 2.39.5