Well, this is a bug FIX at least! :)

All teachers showed up as having editing rights... corrected now.
This commit is contained in:
defacer
2004-04-26 09:31:02 +00:00
parent ce557a6eac
commit 46fec6a3f9
+1 -1
View File
@@ -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);