From: moodler Date: Sun, 17 Aug 2003 07:30:31 +0000 (+0000) Subject: Ordinary teachers can assign students X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=6b42ea66a7e27085e1b975bf8cbf7954d21f1f30;p=moodle.git Ordinary teachers can assign students --- diff --git a/course/student.php b/course/student.php index 35f87576f6..4c0124a72e 100644 --- a/course/student.php +++ b/course/student.php @@ -20,8 +20,8 @@ require_login($course->id); - if (!isteacheredit($course->id)) { - error("You must be able to edit this course to assign students"); + if (!isteacher($course->id)) { + error("You must be a teacher in this course, or an admin"); } $strassignstudents = get_string("assignstudents");