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
commit f91b27584b

View file

@ -484,7 +484,8 @@ class messenger
$use_queue = true; $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)) if (empty($this->replyto))
{ {