[ticket/475] Show "No announcements" if no announcements present

B3P-475
This commit is contained in:
Marc Alexander
2015-02-15 01:09:57 +01:00
parent faedc2bd25
commit d16acc444b

View File

@@ -154,7 +154,7 @@ class announcements extends module_base
); );
// Any announcements present? If not terminate it here. // 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); $this->template->assign_block_vars('announcements', $announcements_row);