From 608c174245ed8825366e40254e93bd57f777356d Mon Sep 17 00:00:00 2001 From: rub Date: Fri, 12 Oct 2007 22:14:23 +0000 Subject: 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 --- admin/notification_by_mail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin/notification_by_mail.php') 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 -- cgit v1.2.3