mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-24 19:08:53 +00:00
[ticket/8558] htmlspecialchars_decode the contact name for emails
PHPBB3-8558
This commit is contained in:
parent
854854b60f
commit
76574d4b5e
1 changed files with 2 additions and 1 deletions
|
@ -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))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue