aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_mail.inc.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-07-02 06:38:45 +0000
committerrub <rub@piwigo.org>2007-07-02 06:38:45 +0000
commit1463bf22952dcd83f4209756a4a409d1b5d3e8be (patch)
tree18024c9b57adf1b9c9df045fdcd3443eee6c512f /include/functions_mail.inc.php
parent182a8f45dba58d6152034c496059cf21393bbbb8 (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 '')
-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 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)
{