diff options
-rw-r--r-- | inc/mail.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/mail.php b/inc/mail.php index b4ca10551..6bd3169b4 100644 --- a/inc/mail.php +++ b/inc/mail.php @@ -121,6 +121,8 @@ function mail_encode_address($string,$header='',$names=true){ if(!utf8_isASCII($text)){ $text = '=?UTF-8?Q?'.mail_quotedprintable_encode($text).'?='; } + }else{ + $text = ''; } // add to header comma seperated and in new line to avoid too long headers |