Permalink
Browse files

Whoops teacher checking was back to front

  • Loading branch information...
1 parent 380871a commit 7fd6bb7cf615e35c1ebcddf4275482dabcabbf4b martin committed Sep 23, 2002
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/forum/lib.php
View
@@ -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;
}
}
}

0 comments on commit 7fd6bb7

Please sign in to comment.