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 18:24:42 +00:00
parent 25a055fdf7
commit 5817312070

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') {