]> git.mjollnir.org Git - moodle.git/commitdiff
Cutting and pasting too quick
authormoodler <moodler>
Sun, 17 Aug 2003 13:14:41 +0000 (13:14 +0000)
committermoodler <moodler>
Sun, 17 Aug 2003 13:14:41 +0000 (13:14 +0000)
course/lib.php

index 362f840934e914843b9023d0c107dfc5fbd478ea..9ba67fdbfed600acb2134fc02a2b6a88a03b97dc 100644 (file)
@@ -757,8 +757,8 @@ function print_course_admin_links($course, $width=180) {
             }
         }
 
-        if (!$course->teachers) {
-            $course->teachers = get_string("defaultcourseteachers");
+        if (!$course->students) {
+            $course->students = get_string("defaultcoursestudents");
         }
         $admindata[]="<a href=\"student.php?id=$course->id\">$course->students...</a>";
         $adminicon[]="<img src=\"$pixpath/i/users.gif\" height=16 width=16 alt=\"\">";