From 45e39d0990c01f005a7dccc5a36de3dd0f62c585 Mon Sep 17 00:00:00 2001 From: Oliver Schramm Date: Wed, 23 Apr 2014 17:45:09 +0200 Subject: [PATCH] [ticket/8558] Fix operator PHPBB3-8558 --- phpBB/includes/functions_messenger.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php index 73604d591b..26ec2d7a5f 100644 --- a/phpBB/includes/functions_messenger.php +++ b/phpBB/includes/functions_messenger.php @@ -484,7 +484,7 @@ class messenger $use_queue = true; } - $board_contact = (($config['board_contact_name']) ? '"' . mail_encode($config['board_contact_name']) . '" ' : '') . '<' . $config['board_contact'] . '>'; + $board_contact = (($config['board_contact_name'] !== '') ? '"' . mail_encode($config['board_contact_name']) . '" ' : '') . '<' . $config['board_contact'] . '>'; if (empty($this->replyto)) {