diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2015-02-20 22:26:39 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2015-02-20 22:26:39 +0100 |
commit | 379eae1a923e563bd1685835a1e913bb75ae1102 (patch) | |
tree | 2acbdea24938297e9f097f65ae7689fa9ccd2221 | |
parent | e6e7d7040a169f041ae3a13b48dd2c9c3a265f79 (diff) | |
parent | f0850f191551caabdc34fb1a0115092244471beb (diff) | |
download | forums-379eae1a923e563bd1685835a1e913bb75ae1102.tar forums-379eae1a923e563bd1685835a1e913bb75ae1102.tar.gz forums-379eae1a923e563bd1685835a1e913bb75ae1102.tar.bz2 forums-379eae1a923e563bd1685835a1e913bb75ae1102.tar.xz forums-379eae1a923e563bd1685835a1e913bb75ae1102.zip |
Merge pull request #3418 from brunoais/ticket/13631
[ticket/13631] Fix wrong variable in get_global_visibility_sql()'s event
-rw-r--r-- | phpBB/phpbb/content_visibility.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/content_visibility.php b/phpBB/phpbb/content_visibility.php index c8516d6c85..843881ae41 100644 --- a/phpBB/phpbb/content_visibility.php +++ b/phpBB/phpbb/content_visibility.php @@ -252,7 +252,7 @@ class content_visibility * @event core.phpbb_content_visibility_get_global_visibility_before * @var array where_sqls The action the user tried to execute * @var string mode Either "topic" or "post" depending on the query this is being used in - * @var array forum_ids Array of forum ids which the posts/topics are limited to + * @var array exclude_forum_ids Array of forum ids the current user doesn't have access to * @var string table_alias Table alias to prefix in SQL queries * @var array approve_forums Array of forums where the user has m_approve permissions * @var string visibility_sql_overwrite Forces the function to return an implosion of where_sqls (joined by "OR") @@ -261,7 +261,7 @@ class content_visibility $vars = array( 'where_sqls', 'mode', - 'forum_ids', + 'exclude_forum_ids', 'table_alias', 'approve_forums', 'visibility_sql_overwrite', |