aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-11-22 06:26:31 +0000
committerrub <rub@piwigo.org>2007-11-22 06:26:31 +0000
commite50433eb0155b086fc625089b6758df1eb723cb5 (patch)
treef40c763dfdd9844a9fffe3ab121cabafd60dd7df
parente480a291cd8da675c855ed2fbcdb8cbdcedf5cc1 (diff)
Fix problem with UTF8 and mail
git-svn-id: http://piwigo.org/svn/trunk@2168 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/functions_mail.inc.php2
1 files changed, 1 insertions, 1 deletions
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",
"<a href='$1$2'>$1$2</a>",
- htmlentities($args['content']))).
+ htmlspecialchars($args['content']))).
'</p>';
}
else