typo in variable name for teachersassignteachers

This commit is contained in:
moodler
2003-08-26 12:30:48 +00:00
parent 9997d48051
commit 966d5f09fe
+1 -1
View 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.");
}