aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_messenger.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_messenger.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_messenger.php')
-rw-r--r--phpBB/includes/functions_messenger.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php
index 045e555d05..fbac3e6f1d 100644
--- a/phpBB/includes/functions_messenger.php
+++ b/phpBB/includes/functions_messenger.php
@@ -510,7 +510,7 @@ class messenger
foreach ($address_ary as $which_ary)
{
- $$type .= (($$type != '') ? ', ' : '') . (($which_ary['name'] != '') ? mail_encode($which_ary['name'], $encode_eol) . ' <' . $which_ary['email'] . '>' : $which_ary['email']);
+ ${$type} .= ((${$type} != '') ? ', ' : '') . (($which_ary['name'] != '') ? mail_encode($which_ary['name'], $encode_eol) . ' <' . $which_ary['email'] . '>' : $which_ary['email']);
}
}