]> git.mjollnir.org Git - moodle.git/commitdiff
Whoops teacher checking was back to front
authormartin <martin>
Mon, 23 Sep 2002 06:49:30 +0000 (06:49 +0000)
committermartin <martin>
Mon, 23 Sep 2002 06:49:30 +0000 (06:49 +0000)
mod/forum/lib.php

index d2157fc5b29778dd2d3fd0e7c8aa70e0c78b1104..ecd1d123856415e13f30c72ce64fb7158e6c2194 100644 (file)
@@ -1313,9 +1313,9 @@ function forum_print_recent_activity(&$logs, $isteacher=false) {
                 if ($forum = get_record("forum", "id", $post->forum) ) {
                     if ($forum->type == "teacher") {
                         if ($isteacher) {
-                            continue;
-                        } else {
                             $teacherpost = "COLOR=$COURSE_TEACHER_COLOR";
+                        } else {
+                            continue;
                         }
                     }
                 }