aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_privmsgs.php
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/includes/functions_privmsgs.php
parentacf3744297303324490c484156f0bf808e532883 (diff)
parent39a3f4f6c8d31f3310e287a51aea011fadae7931 (diff)
downloadforums-069738a1f264c2966b78473a84dba90b4e6d3051.tar
forums-069738a1f264c2966b78473a84dba90b4e6d3051.tar.gz
forums-069738a1f264c2966b78473a84dba90b4e6d3051.tar.bz2
forums-069738a1f264c2966b78473a84dba90b4e6d3051.tar.xz
forums-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/includes/functions_privmsgs.php')
-rw-r--r--phpBB/includes/functions_privmsgs.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_privmsgs.php b/phpBB/includes/functions_privmsgs.php
index ab0f092f87..3340995a62 100644
--- a/phpBB/includes/functions_privmsgs.php
+++ b/phpBB/includes/functions_privmsgs.php
@@ -1418,9 +1418,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;
}