aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhubaishan <saeed@hubaishan.com>2018-01-25 23:00:40 +0300
committerhubaishan <saeed@hubaishan.com>2018-01-25 23:00:40 +0300
commit1e1097f06f8a79bc2e617d248275d0c2b8808064 (patch)
tree807d1d2657baf0ca4360efef8ca603220f47d9ed
parent3a8305e19066fe03083104a0825300202cbd1ada (diff)
downloadforums-1e1097f06f8a79bc2e617d248275d0c2b8808064.tar
forums-1e1097f06f8a79bc2e617d248275d0c2b8808064.tar.gz
forums-1e1097f06f8a79bc2e617d248275d0c2b8808064.tar.bz2
forums-1e1097f06f8a79bc2e617d248275d0c2b8808064.tar.xz
forums-1e1097f06f8a79bc2e617d248275d0c2b8808064.zip
[ticket/15507] Fix PHP 7.2 warning in functions_messenger.php
By pre assgin `$extra_headers` to array. PHPBB3-15507
-rw-r--r--phpBB/includes/functions_messenger.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php
index b866e108c0..a85a3b67c5 100644
--- a/phpBB/includes/functions_messenger.php
+++ b/phpBB/includes/functions_messenger.php
@@ -24,8 +24,9 @@ if (!defined('IN_PHPBB'))
*/
class messenger
{
- var $msg, $extra_headers, $replyto, $from, $subject;
+ var $msg, $replyto, $from, $subject;
var $addresses = array();
+ var $extra_headers = array();
var $mail_priority = MAIL_NORMAL_PRIORITY;
var $use_queue = true;