From 6b42ea66a7e27085e1b975bf8cbf7954d21f1f30 Mon Sep 17 00:00:00 2001 From: moodler Date: Sun, 17 Aug 2003 07:30:31 +0000 Subject: [PATCH] Ordinary teachers can assign students --- course/student.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"); -- 2.39.5