Whoops teacher checking was back to front

This commit is contained in:
martin
2002-09-23 06:49:30 +00:00
parent 380871ace1
commit 7fd6bb7cf6
+2 -2
View 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;
}
}
}