[ticket/475] Show "No announcements" if no announcements present
B3P-475
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user