Slight fix to teacheronly coloring

This commit is contained in:
moodler 2003-04-26 12:22:52 +00:00
parent 3d89198946
commit 278a229c25

View File

@ -318,7 +318,7 @@ function forum_print_recent_activity(&$logs, $isteacher=false) {
//Only if the mod is visible
if ($modvisible) {
if ($post) {
$teacherpost = "";
$teacheronly = "";
if ($forum = get_record("forum", "id", $post->forum) ) {
if ($forum->type == "teacher") {
if ($isteacher) {