aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-10-12 22:14:23 +0000
committerrub <rub@piwigo.org>2007-10-12 22:14:23 +0000
commit608c174245ed8825366e40254e93bd57f777356d (patch)
treedf0953bb7fa52b83be3c390b6ed19f5f8ebfdf44 /admin
parent4afa14cc8d3f26f841c92b083355004251d75087 (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')
-rw-r--r--admin/notification_by_mail.php2
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