From d16acc444b1c3df010bffe5d043991a3260a3678 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Sun, 15 Feb 2015 01:09:57 +0100 Subject: [PATCH] [ticket/475] Show "No announcements" if no announcements present B3P-475 --- modules/announcements.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/announcements.php b/modules/announcements.php index 70070e99..60c19b88 100644 --- a/modules/announcements.php +++ b/modules/announcements.php @@ -154,7 +154,7 @@ class announcements extends module_base ); // Any announcements present? If not terminate it here. - if (sizeof($fetch_news) == 0) + if (sizeof($fetch_news) < 3) { $this->template->assign_block_vars('announcements', $announcements_row);