From 1463bf22952dcd83f4209756a4a409d1b5d3e8be Mon Sep 17 00:00:00 2001 From: rub Date: Mon, 2 Jul 2007 06:38:45 +0000 Subject: Resolved issue 0000715: Fix bad format of email with name contains special character. + Ignore all for plugins and theme directories Merge branch-1_7 2048:2050 into BSF git-svn-id: http://piwigo.org/svn/trunk@2051 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_mail.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/functions_mail.inc.php b/include/functions_mail.inc.php index d7314fb82..9445a1536 100644 --- a/include/functions_mail.inc.php +++ b/include/functions_mail.inc.php @@ -74,7 +74,7 @@ function format_email($name, $email) if ($conf['enabled_format_email']) { - $cvt7b_name = str_translate_to_ascii7bits($name); + $cvt7b_name = '"'.addslashes(str_translate_to_ascii7bits($name)).'"'; if (strpos($email, '<') === false) { -- cgit v1.2.3