From db880aea3090a33068314553a927e8c04419943d Mon Sep 17 00:00:00 2001 From: sam_marshall Date: Tue, 27 May 2008 10:22:07 +0000 Subject: [PATCH] MDL-15015: oops, had one extra line in the HEAD version --- mod/choice/lib.php | 1 - 1 file changed, 1 deletion(-) diff --git a/mod/choice/lib.php b/mod/choice/lib.php index 2c500d3960..4f3fd5354a 100644 --- a/mod/choice/lib.php +++ b/mod/choice/lib.php @@ -269,7 +269,6 @@ WHERE $answers = get_records("choice_answers", "optionid", $formanswer); } - $countanswers=0; if ($answers) { foreach ($answers as $a) { //only return enrolled users. if (has_capability('mod/choice:choose', $context, $a->userid, false)) { -- 2.39.5