mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/13146] $phpbb_dispatcher was missing
Added $phpbb_dispatcher to the globals list for this function. PHPBB3-13146
This commit is contained in:
@@ -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)));
|
||||
|
Reference in New Issue
Block a user