sorry, I introduced a bug. Things get worse before they get better and now
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 24 Oct 2002 14:17:27 +0000 (14:17 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 24 Oct 2002 14:17:27 +0000 (14:17 +0000)
it's better :-)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4007 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/compose.php

index 5950e84..bc63fba 100644 (file)
@@ -662,9 +662,9 @@ function newMail ($mailbox='', $passed_id='', $passed_ent_id='', $action='', $se
         case ('reply'):
             $send_to = $orig_header->reply_to;
             if (is_array($send_to) && count($send_to)) {
-                $send_to = decodeHeader($send_to->getAddr_s('reply_to'));
+                $send_to = decodeHeader($orig_header->getAddr_s('reply_to'));
             } else if (is_object($send_to)) { /* unnessecarry, just for falesafe purpose */
-               $send_to = decodeHeader($send_to->getAddr_s('reply_to'));
+                $send_to = decodeHeader($orig_header->getAddr_s('reply_to'));
            } else {
                 $send_to = decodeHeader($orig_header->getAddr_s('from'));
             }