Added a more robust check to avoid a notice

This commit is contained in:
moodler 2008-02-21 06:02:16 +00:00
parent 90af9dccd3
commit c5eb407be4

View File

@ -221,7 +221,7 @@
$forumlink = $forumname;
$discussionlink = $count;
} else {
if ($forum->visible) {
if (!empty($forum->visible)) {
$style = '';
} else {
$style = 'class="dimmed"';