Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

DOn't print teachers with no authority

  • Loading branch information...
commit f144c3054ad950f212162eaad2a37968b404d36c 1 parent 44e2d2b
authored September 01, 2002

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. 4  user/index.php
4  user/index.php
@@ -36,7 +36,9 @@
36 36
     if ( $teachers = get_course_teachers($course->id)) {
37 37
         echo "<H2 align=center>".$course->teacher."s</H2>";
38 38
         foreach ($teachers as $teacher) {
39  
-            print_user($teacher, $course, $string);
  39
+            if ($teacher->authority > 0) {    // Don't print teachers with no authority
  40
+                print_user($teacher, $course, $string);
  41
+            }
40 42
         }
41 43
     }
42 44
 

0 notes on commit f144c30

Please sign in to comment.
Something went wrong with that request. Please try again.