]> git.mjollnir.org Git - moodle.git/commitdiff
FIxed bug that was not showing custom scales
authormoodler <moodler>
Mon, 18 Aug 2003 11:58:07 +0000 (11:58 +0000)
committermoodler <moodler>
Mon, 18 Aug 2003 11:58:07 +0000 (11:58 +0000)
lib/weblib.php

index 3bdb3272daae12662e317a862352ec6df5c0db01..2bd4e480d9c766fef9802fea9b0d8aaedb7266a0 100644 (file)
@@ -1284,7 +1284,7 @@ function print_grade_menu($courseid, $name, $current) {
     $strscale = get_string("scale");
     $strscales = get_string("scales");
 
-    $scales = get_scales_menu($course->id);
+    $scales = get_scales_menu($courseid);
     foreach ($scales as $i => $scalename) {
         $grades[-$i] = "$strscale: $scalename";
     }