summaryrefslogtreecommitdiff
path: root/inc/mail.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2006-03-07 19:57:13 +0100
committerAndreas Gohr <andi@splitbrain.org>2006-03-07 19:57:13 +0100
commit628e6ba732c80aa816fe027b80d611eeac565423 (patch)
treefceaa11e3f086b618b0fe4088690b8d43b5dde9b /inc/mail.php
parent755f1e037af25f25d5945d7f8d56d5b4b76e414d (diff)
downloadrpg-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
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