Fixed a notice

This commit is contained in:
moodler
2005-02-15 17:44:02 +00:00
parent b71143dc08
commit fb83bd5075
+1 -1
View File
@@ -80,7 +80,7 @@
echo '<div id="forum-view" class="forum">'; // forum-view wrapper start
if (!$cm->visible and !isteacher($course->id)) {
if (empty($cm->visible) and !isteacher($course->id)) {
notice(get_string("activityiscurrentlyhidden"));
}