diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-02-11 12:03:54 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-02-11 12:03:54 +0100 |
commit | 3df25babce5df2d26bc98114cd404d51c659c19f (patch) | |
tree | 16538bed8be122d00e0a015120453d3b357a0318 /phpBB/develop | |
parent | Merge pull request #3379 from Crizz0/ticket/13588 (diff) | |
download | phpbb-3df25babce5df2d26bc98114cd404d51c659c19f.tar.gz phpbb-3df25babce5df2d26bc98114cd404d51c659c19f.tar.bz2 phpbb-3df25babce5df2d26bc98114cd404d51c659c19f.zip |
[ticket/13597] Modify variable-variable syntax to be compatible with PHP7
PHPBB3-13597
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, |