Ordinary teachers can assign students

This commit is contained in:
moodler 2003-08-17 07:30:31 +00:00
parent 4d9d90c006
commit 6b42ea66a7

View file

@ -20,8 +20,8 @@
require_login($course->id); require_login($course->id);
if (!isteacheredit($course->id)) { if (!isteacher($course->id)) {
error("You must be able to edit this course to assign students"); error("You must be a teacher in this course, or an admin");
} }
$strassignstudents = get_string("assignstudents"); $strassignstudents = get_string("assignstudents");