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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user