From: pdontthink Date: Wed, 15 May 2013 20:33:11 +0000 (+0000) Subject: Fix error caused by typo of variable name X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=68e2651025f91ccd3671c150a3ed15fc146959d3;p=squirrelmail.git Fix error caused by typo of variable name git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14358 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/compose.php b/functions/compose.php index 8ba70548..70b5d927 100644 --- a/functions/compose.php +++ b/functions/compose.php @@ -105,9 +105,9 @@ function sq_send_mail($to, $subject, $body, $from, $cc='', $bcc='', $message='') $content_type = new ContentType('text/plain'); global $special_encoding, $default_charset; if ($special_encoding) - $rfc822_header->encoding = $special_encoding; + $header->encoding = $special_encoding; else - $rfc822_header->encoding = '8bit'; + $header->encoding = '8bit'; if ($default_charset) $content_type->properties['charset']=$default_charset; $header->content_type = $content_type;