From: defacer Date: Mon, 26 Apr 2004 09:31:02 +0000 (+0000) Subject: Well, this is a bug FIX at least! :) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=46fec6a3f986d985320d038bf394dd2cbe11f6a4;p=moodle.git Well, this is a bug FIX at least! :) All teachers showed up as having editing rights... corrected now. --- diff --git a/course/groups.php b/course/groups.php index 2d3161c9a1..036983c9d3 100644 --- a/course/groups.php +++ b/course/groups.php @@ -184,7 +184,7 @@ if ($teachers = get_course_teachers($course->id)) { foreach ($teachers as $teacher) { $prefix = '- '; - if (isteacheredit($course->id, $user->id)) { + if (isteacheredit($course->id, $teacher->id)) { $prefix = '# '; } $nonmembers[$teacher->id] = $prefix.fullname($teacher, true);