Skip to content

Commit

Permalink
typo in variable name for teachersassignteachers
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Aug 26, 2003
1 parent 9997d48 commit 966d5f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course/teacher.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
}

Expand Down

0 comments on commit 966d5f0

Please sign in to comment.