1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-29 21:10:31 +02:00

Merge branch 'develop-ascraeus' into develop

* develop-ascraeus:
  [ticket/13597] Modify variable-variable syntax to be compatible with PHP7
This commit is contained in:
Andreas Fischer
2015-02-11 16:53:25 +01:00
7 changed files with 14 additions and 14 deletions

View File

@@ -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,