diff options
| author | Andreas Fischer <bantu@phpbb.com> | 2015-02-11 16:53:25 +0100 |
|---|---|---|
| committer | Andreas Fischer <bantu@phpbb.com> | 2015-02-11 16:53:25 +0100 |
| commit | 39a3f4f6c8d31f3310e287a51aea011fadae7931 (patch) | |
| tree | 16538bed8be122d00e0a015120453d3b357a0318 /phpBB/includes/functions_messenger.php | |
| parent | c6a371531bab7ba7f003c57d25b6b515718eb54f (diff) | |
| parent | 3df25babce5df2d26bc98114cd404d51c659c19f (diff) | |
| download | forums-39a3f4f6c8d31f3310e287a51aea011fadae7931.tar forums-39a3f4f6c8d31f3310e287a51aea011fadae7931.tar.gz forums-39a3f4f6c8d31f3310e287a51aea011fadae7931.tar.bz2 forums-39a3f4f6c8d31f3310e287a51aea011fadae7931.tar.xz forums-39a3f4f6c8d31f3310e287a51aea011fadae7931.zip | |
Merge pull request #3391 from marc1706/ticket/13597
[ticket/13597] Modify variable-variable syntax to be compatible with PHP7
* marc1706/ticket/13597:
[ticket/13597] Modify variable-variable syntax to be compatible with PHP7
Diffstat (limited to 'phpBB/includes/functions_messenger.php')
| -rw-r--r-- | phpBB/includes/functions_messenger.php | 2 |
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']); } } |
