From 44da8bad7425257fbf0cc529dcd88fe64695e588 Mon Sep 17 00:00:00 2001 From: Kevin Date: Fri, 28 Nov 2008 22:32:20 +0000 Subject: [PATCH] #126:subsilver2 bug - topic icon row is not hidden if none is present --- root/portal/block/announcements.php | 2 +- root/portal/block/news.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/root/portal/block/announcements.php b/root/portal/block/announcements.php index e1298b76..61fc4bd1 100644 --- a/root/portal/block/announcements.php +++ b/root/portal/block/announcements.php @@ -304,7 +304,7 @@ else } $topic_icons = false; -if( isset($fetch_news['topic_icons']) ) +if( !empty($fetch_news['topic_icons']) ) { $topic_icons = true; } diff --git a/root/portal/block/news.php b/root/portal/block/news.php index bec15f5a..2430bc37 100644 --- a/root/portal/block/news.php +++ b/root/portal/block/news.php @@ -289,7 +289,7 @@ else } $topic_icons = false; -if( isset($fetch_news['topic_icons']) ) +if( !empty($fetch_news['topic_icons']) ) { $topic_icons = true; }