mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 11:44:08 +02:00
- implemented the suggested html_entity_decode function made by david
- fixed string length checking by also decoding entities for the sake of checking - used the new html_entity_decode function git-svn-id: file:///svn/phpbb/trunk@6545 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -150,15 +150,15 @@ class acp_email
|
||||
$messenger->headers('X-AntiAbuse: Username - ' . $user->data['username']);
|
||||
$messenger->headers('X-AntiAbuse: User IP - ' . $user->ip);
|
||||
|
||||
$messenger->subject(html_entity_decode($subject));
|
||||
$messenger->subject(utf8_html_entity_decode($subject));
|
||||
$messenger->replyto($config['board_email']);
|
||||
$messenger->set_mail_priority($priority);
|
||||
|
||||
$messenger->assign_vars(array(
|
||||
'SITENAME' => $config['sitename'],
|
||||
'SITENAME' => utf8_html_entity_decode($config['sitename']),
|
||||
'CONTACT_EMAIL' => $config['board_contact'],
|
||||
'EMAIL_SIG' => str_replace('<br />', "\n", "-- \n" . $config['board_email_sig']),
|
||||
'MESSAGE' => html_entity_decode($message))
|
||||
'EMAIL_SIG' => utf8_html_entity_decode(str_replace('<br />', "\n", "-- \n" . $config['board_email_sig'])),
|
||||
'MESSAGE' => utf8_html_entity_decode($message))
|
||||
);
|
||||
|
||||
if (!($messenger->send($used_method)))
|
||||
|
Reference in New Issue
Block a user