Skip to content

Commit 997b229

Browse files
committed
[ticket/13631] Fix wrong variable in get_global_visibility_sql()'s event
I don't get this... I was positive I, at some point, had it right... I don't get what happened... PHPBB3-13631
1 parent 088907f commit 997b229

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

phpBB/phpbb/content_visibility.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ public function get_global_visibility_sql($mode, $exclude_forum_ids = array(), $
252252
* @event core.phpbb_content_visibility_get_global_visibility_before
253253
* @var array where_sqls The action the user tried to execute
254254
* @var string mode Either "topic" or "post" depending on the query this is being used in
255-
* @var array forum_ids Array of forum ids which the posts/topics are limited to
255+
* @var array exclude_forum_ids Array of forum ids which the posts/topics are limited to
256256
* @var string table_alias Table alias to prefix in SQL queries
257257
* @var array approve_forums Array of forums where the user has m_approve permissions
258258
* @var string visibility_sql_overwrite Forces the function to return an implosion of where_sqls (joined by "OR")
@@ -261,7 +261,7 @@ public function get_global_visibility_sql($mode, $exclude_forum_ids = array(), $
261261
$vars = array(
262262
'where_sqls',
263263
'mode',
264-
'forum_ids',
264+
'exclude_forum_ids',
265265
'table_alias',
266266
'approve_forums',
267267
'visibility_sql_overwrite',

0 commit comments

Comments
 (0)