]> git.mjollnir.org Git - moodle.git/commitdiff
OUCH! usegrades should be showgrades
authormoodler <moodler>
Wed, 20 Aug 2003 13:41:56 +0000 (13:41 +0000)
committermoodler <moodler>
Wed, 20 Aug 2003 13:41:56 +0000 (13:41 +0000)
course/lib.php

index f2b820928da366929449ed516dc591ff54b18e88..43c3d998c464e2a2ad553bf0867ae83e9d993216 100644 (file)
@@ -792,7 +792,7 @@ function print_course_admin_links($course, $width=180) {
         }
 
     } else {  // Students menu
-        if ($course->usegrades) {
+        if ($course->showgrades) {
             $admindata[]="<a href=\"grade.php?id=$course->id\">".get_string("grades")."...</a>";
             $adminicon[]="<img src=\"$pixpath/i/grades.gif\" height=16 width=16 alt=\"\">";
         }