From f045ffd1327e598e89605684f6ad8f4d408de12a Mon Sep 17 00:00:00 2001 From: rvelices Date: Fri, 5 Oct 2007 22:46:10 +0000 Subject: - remove str_translate_to_ascii7bits and lang_table_translate_ascii7bits git-svn-id: http://piwigo.org/svn/trunk@2122 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_mail.inc.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include/functions_mail.inc.php') diff --git a/include/functions_mail.inc.php b/include/functions_mail.inc.php index 19ec06ed7..a20a32797 100644 --- a/include/functions_mail.inc.php +++ b/include/functions_mail.inc.php @@ -106,7 +106,11 @@ function format_email($name, $email) if ($cvt_name!="") { - $cvt_name = encode_mime_header('"'.$cvt_name.'"').' '; + $cvt_name = encode_mime_header( + '"' + .addcslashes($cvt_name,'"') + .'"'); + $cvt_name .= ' '; } if (strpos($cvt_email, '<') === false) -- cgit v1.2.3