diff options
author | Andreas Gohr <andi@splitbrain.org> | 2006-03-07 19:57:13 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2006-03-07 19:57:13 +0100 |
commit | 628e6ba732c80aa816fe027b80d611eeac565423 (patch) | |
tree | fceaa11e3f086b618b0fe4088690b8d43b5dde9b | |
parent | 755f1e037af25f25d5945d7f8d56d5b4b76e414d (diff) | |
download | rpg-628e6ba732c80aa816fe027b80d611eeac565423.tar.gz rpg-628e6ba732c80aa816fe027b80d611eeac565423.tar.bz2 |
fix for the windows' limited to: header support in mails FS#738
darcs-hash:20060307185713-7ad00-d0952c48ec84d20d4a50897c670129ae5b4c7e09.gz
-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 |