[ticket/8558] htmlspecialchars_decode the contact name for emails

PHPBB3-8558
This commit is contained in:
Nils Adermann 2014-05-02 13:03:14 +02:00
parent 854854b60f
commit 76574d4b5e

View file

@ -484,7 +484,8 @@ class messenger
$use_queue = true;
}
$board_contact = (($config['board_contact_name'] !== '') ? '"' . mail_encode($config['board_contact_name']) . '" ' : '') . '<' . $config['board_contact'] . '>';
$contact_name = htmlspecialchars_decode($config['board_contact_name']);
$board_contact = (($contact_name !== '') ? '"' . mail_encode($contact_name) . '" ' : '') . '<' . $config['board_contact'] . '>';
if (empty($this->replyto))
{