[ticket/420] Correctly exclude forums user has no access to
B3P-420
This commit is contained in:
@@ -130,7 +130,7 @@ class announcements extends module_base
|
||||
$this->config['board3_announcements_day_' . $module_id],
|
||||
'announcements',
|
||||
$start,
|
||||
$this->config['board3_announcements_forum_exclude_' . $module_id]
|
||||
(bool) $this->config['board3_announcements_forum_exclude_' . $module_id]
|
||||
);
|
||||
|
||||
// Any announcements present? If not terminate it here.
|
||||
|
||||
@@ -132,7 +132,7 @@ class news extends module_base
|
||||
0,
|
||||
($this->config['board3_show_all_news_' . $module_id]) ? 'news_all' : 'news',
|
||||
$start,
|
||||
$this->config['board3_news_exclude_' . $module_id]
|
||||
(bool) $this->config['board3_news_exclude_' . $module_id]
|
||||
);
|
||||
|
||||
// Any news present? If not terminate it here.
|
||||
|
||||
Reference in New Issue
Block a user