From e50433eb0155b086fc625089b6758df1eb723cb5 Mon Sep 17 00:00:00 2001 From: rub Date: Thu, 22 Nov 2007 06:26:31 +0000 Subject: [PATCH] Fix problem with UTF8 and mail git-svn-id: http://piwigo.org/svn/trunk@2168 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_mail.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions_mail.inc.php b/include/functions_mail.inc.php index 785d000f8..5bf445a95 100644 --- a/include/functions_mail.inc.php +++ b/include/functions_mail.inc.php @@ -697,7 +697,7 @@ function pwg_mail($to, $args = array()) nl2br( preg_replace("/(http:\/\/)([^\s,]*)/i", "$1$2", - htmlentities($args['content']))). + htmlspecialchars($args['content']))). '

'; } else