Talking about stupid... backing out your own changes is stupid.
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 29 Jun 2003 10:12:40 +0000 (10:12 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 29 Jun 2003 10:12:40 +0000 (10:12 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5152 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/compose.php

index 61d1c208aa2732fc8bcefda5f58c8e0618fc9cd7..1cd22ce72d46f3aaf5c939e437a8c0294014d4eb 100644 (file)
@@ -666,8 +666,8 @@ function newMail ($mailbox='', $passed_id='', $passed_ent_id='', $action='', $se
             $send_to_bcc = decodeHeader($orig_header->getAddr_s('bcc'),false,true);            
             $subject = decodeHeader($orig_header->subject,false,true);
 //            /* remember the references and in-reply-to headers in case of an reply */
-//            $composeMessage->rfc822_header->more_headers['References'] = $orig_header->references;
-//            $composeMessage->rfc822_header->more_headers['In-Reply-To'] = $orig_header->in_reply_to;
+            $composeMessage->rfc822_header->more_headers['References'] = $orig_header->references;
+            $composeMessage->rfc822_header->more_headers['In-Reply-To'] = $orig_header->in_reply_to;
             $body_ary = explode("\n", $body);
             $cnt = count($body_ary) ;
             $body = '';
@@ -1435,9 +1435,9 @@ 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;