diff options
author | rub <rub@piwigo.org> | 2007-07-02 06:38:45 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2007-07-02 06:38:45 +0000 |
commit | 1463bf22952dcd83f4209756a4a409d1b5d3e8be (patch) | |
tree | 18024c9b57adf1b9c9df045fdcd3443eee6c512f /include | |
parent | 182a8f45dba58d6152034c496059cf21393bbbb8 (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/functions_mail.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |