From: stekkel Date: Wed, 18 Jun 2003 23:55:32 +0000 (+0000) Subject: fix for bug #756667 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=98d42122fd9b0346374c5b1468e1c0cbb3767b24;p=squirrelmail.git fix for bug #756667 git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5090 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/compose.php b/src/compose.php index 0afec44f..59500193 100644 --- a/src/compose.php +++ b/src/compose.php @@ -1434,11 +1434,10 @@ function deliverMessage($composeMessage, $draft=false) { } else { $rfc822_header->encoding = '8bit'; } - } - if ($default_charset) { - $content_type->properties['charset']=$default_charset; - } - + if ($default_charset) { + $content_type->properties['charset']=$default_charset; + } + } $rfc822_header->content_type = $content_type; $composeMessage->rfc822_header = $rfc822_header;