diff options
author | Andreas Fischer <bantu@phpbb.com> | 2015-02-11 16:53:25 +0100 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2015-02-11 16:53:25 +0100 |
commit | 069738a1f264c2966b78473a84dba90b4e6d3051 (patch) | |
tree | 657c434ab8aefa461a262f7a76b1a3405c5d8ce9 /phpBB/develop | |
parent | acf3744297303324490c484156f0bf808e532883 (diff) | |
parent | 39a3f4f6c8d31f3310e287a51aea011fadae7931 (diff) | |
download | forums-069738a1f264c2966b78473a84dba90b4e6d3051.tar forums-069738a1f264c2966b78473a84dba90b4e6d3051.tar.gz forums-069738a1f264c2966b78473a84dba90b4e6d3051.tar.bz2 forums-069738a1f264c2966b78473a84dba90b4e6d3051.tar.xz forums-069738a1f264c2966b78473a84dba90b4e6d3051.zip |
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus:
[ticket/13597] Modify variable-variable syntax to be compatible with PHP7
Diffstat (limited to 'phpBB/develop')
-rw-r--r-- | phpBB/develop/add_permissions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/develop/add_permissions.php b/phpBB/develop/add_permissions.php index fd419a7dde..a5279f8f13 100644 --- a/phpBB/develop/add_permissions.php +++ b/phpBB/develop/add_permissions.php @@ -198,9 +198,9 @@ $prefixes = array('f_', 'a_', 'm_', 'u_'); foreach ($prefixes as $prefix) { $var = $prefix . 'permissions'; - if (sizeof($$var)) + if (sizeof(${$var})) { - foreach ($$var as $auth_option => $l_ary) + foreach (${$var} as $auth_option => $l_ary) { $sql_ary = array( 'auth_option' => $auth_option, |