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