]> git.mjollnir.org Git - moodle.git/commitdiff
Fix for MDL-9666 totals don't appear when full names are shown.
authordanmarsden <danmarsden>
Mon, 22 Oct 2007 21:49:58 +0000 (21:49 +0000)
committerdanmarsden <danmarsden>
Mon, 22 Oct 2007 21:49:58 +0000 (21:49 +0000)
mod/choice/lib.php

index db3e505d4c64291b7d788b416d91c6d7ec20958b..3925714c7744da3e8cfc15b42a4f50b328735467 100644 (file)
@@ -454,6 +454,8 @@ function choice_show_results($choice, $course, $cm, $forcepublish='') {
                     echo get_string("limit", "choice").":";
                     $choice_option = get_record("choice_options", "id", $optionid);
                     echo $choice_option->maxanswers;
+                } else {
+                    echo $columncount[$optionid];
                 }
                 echo "</td>";
                 $count++;