mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[ticket/13146] $phpbb_dispatcher was missing
Added $phpbb_dispatcher to the globals list for this function. PHPBB3-13146
This commit is contained in:
parent
e279a779fc
commit
e9cb9baedb
1 changed files with 2 additions and 0 deletions
|
@ -156,6 +156,8 @@ class content_visibility
|
|||
*/
|
||||
public function get_forums_visibility_sql($mode, $forum_ids = array(), $table_alias = '')
|
||||
{
|
||||
global $phpbb_dispatcher;
|
||||
|
||||
$where_sql = '(';
|
||||
|
||||
$approve_forums = array_intersect($forum_ids, array_keys($this->auth->acl_getf('m_approve', true)));
|
||||
|
|
Loading…
Add table
Reference in a new issue