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)) {