]> git.mjollnir.org Git - moodle.git/commitdiff
typo in variable name for teachersassignteachers
authormoodler <moodler>
Tue, 26 Aug 2003 12:30:48 +0000 (12:30 +0000)
committermoodler <moodler>
Tue, 26 Aug 2003 12:30:48 +0000 (12:30 +0000)
course/teacher.php

index cfbb7656d7e3db605dff8e08b34880afd6ca3539..681b277ac372c32911d15a5a6b7b0900b55f1389 100644 (file)
@@ -17,7 +17,7 @@
     }
 
     if (!(isteacheredit($course->id) and iscreator()) and 
-        !(isteacheredit($course->id) and !empty($CFG->teacheraddteachers) ) ) {
+        !(isteacheredit($course->id) and !empty($CFG->teacherassignteachers) ) ) {
         error("You must be an administrator or course creator to use this page.");
     }