[imp] error when replying to a message (with confirmation screen on)

Amith Varghese amith at xalan.com
Fri Dec 16 12:45:32 PST 2005


Attached is a patch to fix an error received when replying to a  
message with the confirmation screen on.

Index: imp/lib/Compose.php
===================================================================
RCS file: /repository/imp/lib/Compose.php,v
retrieving revision 1.169
diff -u -r1.169 Compose.php
--- imp/lib/Compose.php 16 Dec 2005 00:02:02 -0000      1.169
+++ imp/lib/Compose.php 16 Dec 2005 20:43:33 -0000
@@ -503,7 +503,7 @@
              if ($header['references']) {
                  $msg_headers->addHeader('References', implode(' ',  
preg_split('|\s+|', trim($header['references']))));
              }
-            if ($header['in_reply_to']) {
+            if ($header['inreplyto']) {
                  $msg_headers->addHeader('In-Reply-To', $header['inreplyto']);
              }
          }




More information about the imp mailing list