aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_privmsgs.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-02-11 12:03:54 +0100
committerMarc Alexander <admin@m-a-styles.de>2015-02-11 12:03:54 +0100
commit3df25babce5df2d26bc98114cd404d51c659c19f (patch)
tree16538bed8be122d00e0a015120453d3b357a0318 /phpBB/includes/functions_privmsgs.php
parentc6a371531bab7ba7f003c57d25b6b515718eb54f (diff)
downloadforums-3df25babce5df2d26bc98114cd404d51c659c19f.tar
forums-3df25babce5df2d26bc98114cd404d51c659c19f.tar.gz
forums-3df25babce5df2d26bc98114cd404d51c659c19f.tar.bz2
forums-3df25babce5df2d26bc98114cd404d51c659c19f.tar.xz
forums-3df25babce5df2d26bc98114cd404d51c659c19f.zip
[ticket/13597] Modify variable-variable syntax to be compatible with PHP7
PHPBB3-13597
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 838c6a0fec..e693305246 100644
--- a/phpBB/includes/functions_privmsgs.php
+++ b/phpBB/includes/functions_privmsgs.php
@@ -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;
}