From fb83bd507565076ed72fc73e41f18dc14f63e197 Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 15 Feb 2005 17:44:02 +0000 Subject: [PATCH] Fixed a notice --- mod/forum/view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/forum/view.php b/mod/forum/view.php index e68da7e5132..356a1f42b6b 100644 --- a/mod/forum/view.php +++ b/mod/forum/view.php @@ -80,7 +80,7 @@ echo '
'; // forum-view wrapper start - if (!$cm->visible and !isteacher($course->id)) { + if (empty($cm->visible) and !isteacher($course->id)) { notice(get_string("activityiscurrentlyhidden")); }