diff options
author | rub <rub@piwigo.org> | 2007-10-12 22:14:23 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2007-10-12 22:14:23 +0000 |
commit | 608c174245ed8825366e40254e93bd57f777356d (patch) | |
tree | df0953bb7fa52b83be3c390b6ed19f5f8ebfdf44 /admin/notification_by_mail.php | |
parent | 4afa14cc8d3f26f841c92b083355004251d75087 (diff) |
Replace htmlentities by htmlspecialchars on NBM in order to send a correct UTF8 mail.
Quote mail charset + add debug mail informations
Fix "check user with same mail" where null email was not discarded
git-svn-id: http://piwigo.org/svn/trunk@2136 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/notification_by_mail.php')
-rw-r--r-- | admin/notification_by_mail.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/notification_by_mail.php b/admin/notification_by_mail.php index 377aed03e..ca59b3158 100644 --- a/admin/notification_by_mail.php +++ b/admin/notification_by_mail.php @@ -247,7 +247,7 @@ function do_action_send_mail_notification($action = 'list_to_send', $check_key_l { // On HTML mail, detects if the content are HTML format. // If it's plain text format, convert content to readable HTML - $customize_mail_content = nl2br(htmlentities($customize_mail_content)); + $customize_mail_content = nl2br(htmlspecialchars($customize_mail_content)); } // Prepare message after change language |