summaryrefslogtreecommitdiff
path: root/inc/mail.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/mail.php')
-rw-r--r--inc/mail.php2
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