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

[ticket/13597] Modify variable-variable syntax to be compatible with PHP7

PHPBB3-13597
This commit is contained in:
Marc Alexander
2015-02-11 12:03:54 +01:00
parent c6a371531b
commit 3df25babce
7 changed files with 14 additions and 14 deletions

View File

@@ -1415,9 +1415,9 @@ function rebuild_header($check_ary)
$_types = array('u', 'g');
foreach ($_types as $type)
{
if (sizeof($$type))
if (sizeof(${$type}))
{
foreach ($$type as $id)
foreach (${$type} as $id)
{
$address[$type][$id] = $check_type;
}