Fixed bug with displaying the gradebook when it is only set to show percent to students

as described here http://moodle.org/mod/forum/discuss.php?d=27521
thanks to Nikki Macfarlane for detailed info
This commit is contained in:
michaelpenne
2005-07-18 15:51:44 +00:00
parent 4b4f3038e1
commit 6b8fdfd03e
+1 -1
View File
@@ -115,7 +115,7 @@
} // end switch
} // end if isTeacher
else {
if ($preferences->show_weighted || $preferences->show_points || $preferences->show_points) {
if ($preferences->show_weighted || $preferences->show_points || $preferences->show_percent) {
if ($preferences->use_advanced == 1) {
if($action != 'vcats') {