]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-15015: oops, had one extra line in the HEAD version
authorsam_marshall <sam_marshall>
Tue, 27 May 2008 10:22:07 +0000 (10:22 +0000)
committersam_marshall <sam_marshall>
Tue, 27 May 2008 10:22:07 +0000 (10:22 +0000)
mod/choice/lib.php

index 2c500d3960ec7ec4713b9e19267dc98eaa479210..4f3fd5354a9307e75d18c8c45ef7ca45bc8aa458 100644 (file)
@@ -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)) {