aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_mail.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions_mail.inc.php')
-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)
{