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 | 069738a1f264c2966b78473a84dba90b4e6d3051 (patch) | |
| tree | 657c434ab8aefa461a262f7a76b1a3405c5d8ce9 /phpBB/includes/functions_messenger.php | |
| parent | acf3744297303324490c484156f0bf808e532883 (diff) | |
| parent | 39a3f4f6c8d31f3310e287a51aea011fadae7931 (diff) | |
| download | forums-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_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 199cda829d..3aa3f3d03f 100644 --- a/phpBB/includes/functions_messenger.php +++ b/phpBB/includes/functions_messenger.php @@ -504,7 +504,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']); } } |
