aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_mail.inc.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-07-02 06:26:44 +0000
committerrub <rub@piwigo.org>2007-07-02 06:26:44 +0000
commit30532b2186e85ed95922f96a4e9645dacab8245f (patch)
tree153b04e6ee8dbbb103b9b8692333921723ac2297 /include/functions_mail.inc.php
parent134c91774f0eeb6532fb7ec8bcdfc3e489c8d2ad (diff)
Resolved issue 0000715: Fix bad format of email with name contains special character.
+ Ignore all for plugins and theme directories git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2049 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..f5dd807f4 100644
--- a/include/functions_mail.inc.php
+++ b/include/functions_mail.inc.php
@@ -78,7 +78,7 @@ function format_email($name, $email)
if (strpos($email, '<') === false)
{
- return $cvt7b_name.' <'.$email.'>';
+ return '"'.addslashes($cvt7b_name).'" <'.$email.'>';
}
else
{