mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +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 = '')
|
public function get_forums_visibility_sql($mode, $forum_ids = array(), $table_alias = '')
|
||||||
{
|
{
|
||||||
|
global $phpbb_dispatcher;
|
||||||
|
|
||||||
$where_sql = '(';
|
$where_sql = '(';
|
||||||
|
|
||||||
$approve_forums = array_intersect($forum_ids, array_keys($this->auth->acl_getf('m_approve', true)));
|
$approve_forums = array_intersect($forum_ids, array_keys($this->auth->acl_getf('m_approve', true)));
|
||||||
|
Reference in New Issue
Block a user