diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2013-07-14 12:55:03 -0400 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2013-07-14 12:55:03 -0400 |
commit | e4a5ce307d49c215b08e35a79147ba2418f133ff (patch) | |
tree | 993d416d2d2acdc7c90ad50fff90bf6e412e5022 /phpBB/phpbb | |
parent | 9c72bbe284514c1aa70f8ac65e9dfcafb72d36dd (diff) | |
download | forums-e4a5ce307d49c215b08e35a79147ba2418f133ff.tar forums-e4a5ce307d49c215b08e35a79147ba2418f133ff.tar.gz forums-e4a5ce307d49c215b08e35a79147ba2418f133ff.tar.bz2 forums-e4a5ce307d49c215b08e35a79147ba2418f133ff.tar.xz forums-e4a5ce307d49c215b08e35a79147ba2418f133ff.zip |
[ticket/11582] Test the event and and fix it.
PHPBB3-11582
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r-- | phpBB/phpbb/permissions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/permissions.php b/phpBB/phpbb/permissions.php index 66360424ea..0fbacdad8a 100644 --- a/phpBB/phpbb/permissions.php +++ b/phpBB/phpbb/permissions.php @@ -66,7 +66,7 @@ class phpbb_permissions * @since 3.1-A1 */ $vars = array('types', 'categories', 'permissions'); - extract($phpbb_dispatcher->trigger_event('core.permissions', $vars)); + extract($phpbb_dispatcher->trigger_event('core.permissions', compact($vars))); $this->categories = $categories; $this->types = $types; |