aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2015-02-11 16:53:25 +0100
committerAndreas Fischer <bantu@phpbb.com>2015-02-11 16:53:25 +0100
commit069738a1f264c2966b78473a84dba90b4e6d3051 (patch)
tree657c434ab8aefa461a262f7a76b1a3405c5d8ce9 /phpBB/develop
parentMerge pull request #3332 from nickvergessen/ticket/10748-mssql (diff)
parentMerge pull request #3391 from marc1706/ticket/13597 (diff)
downloadphpbb-069738a1f264c2966b78473a84dba90b4e6d3051.tar.gz
phpbb-069738a1f264c2966b78473a84dba90b4e6d3051.tar.bz2
phpbb-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.php4
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,