aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2014-08-08 12:19:36 +0200
committerMarc Alexander <admin@m-a-styles.de>2014-08-08 12:19:36 +0200
commitc5d72c94f13a3e4faf15979eb4a6e920a05bd994 (patch)
tree47a8dbb1726c33e8dc8355d6a4ab43ded9a623bf /phpBB/includes/acp
parente4e7a8f8494922ee52d927cfcfe8b27d73452ced (diff)
downloadforums-c5d72c94f13a3e4faf15979eb4a6e920a05bd994.tar
forums-c5d72c94f13a3e4faf15979eb4a6e920a05bd994.tar.gz
forums-c5d72c94f13a3e4faf15979eb4a6e920a05bd994.tar.bz2
forums-c5d72c94f13a3e4faf15979eb4a6e920a05bd994.tar.xz
forums-c5d72c94f13a3e4faf15979eb4a6e920a05bd994.zip
[ticket/10404] Use anonymous function instead of create_function in acp/auth
PHPBB3-10404
Diffstat (limited to 'phpBB/includes/acp')
-rw-r--r--phpBB/includes/acp/auth.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/auth.php b/phpBB/includes/acp/auth.php
index 7ff3212b72..930f2811cf 100644
--- a/phpBB/includes/acp/auth.php
+++ b/phpBB/includes/acp/auth.php
@@ -183,7 +183,7 @@ class auth_admin extends \phpbb\auth\auth
}
// Defining the user-function here to save some memory
- $return_acl_fill = create_function('$value', 'return ' . $acl_fill . ';');
+ $return_acl_fill = function () use ($acl_fill) { return $acl_fill; };
// Actually fill the gaps
if (sizeof($hold_ary))