DOn't print teachers with no authority

This commit is contained in:
martin
2002-09-01 14:30:39 +00:00
parent 44e2d2bb42
commit f144c3054a
+3 -1
View File
@@ -36,7 +36,9 @@
if ( $teachers = get_course_teachers($course->id)) {
echo "<H2 align=center>".$course->teacher."s</H2>";
foreach ($teachers as $teacher) {
print_user($teacher, $course, $string);
if ($teacher->authority > 0) { // Don't print teachers with no authority
print_user($teacher, $course, $string);
}
}
}