1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-05 16:27:38 +02:00

Merge branch 'develop-ascraeus' into develop

* develop-ascraeus:
  [ticket/8558] htmlspecialchars_decode the contact name for emails
This commit is contained in:
Nils Adermann
2014-05-02 13:03:59 +02:00

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