diff options
author | rub <rub@piwigo.org> | 2007-07-02 06:26:44 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2007-07-02 06:26:44 +0000 |
commit | 30532b2186e85ed95922f96a4e9645dacab8245f (patch) | |
tree | 153b04e6ee8dbbb103b9b8692333921723ac2297 /include | |
parent | 134c91774f0eeb6532fb7ec8bcdfc3e489c8d2ad (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 '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..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 { |