From 7fd6bb7cf615e35c1ebcddf4275482dabcabbf4b Mon Sep 17 00:00:00 2001 From: martin Date: Mon, 23 Sep 2002 06:49:30 +0000 Subject: [PATCH] Whoops teacher checking was back to front --- mod/forum/lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/forum/lib.php b/mod/forum/lib.php index d2157fc5b29..ecd1d123856 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -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; } } }