From: stekkel Date: Thu, 24 Oct 2002 14:17:27 +0000 (+0000) Subject: sorry, I introduced a bug. Things get worse before they get better and now X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=52cf8e76f6a56a61e426a27e08ad8498be67b6ed;p=squirrelmail.git sorry, I introduced a bug. Things get worse before they get better and now it's better :-) git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4007 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/compose.php b/src/compose.php index 5950e844..bc63fba7 100644 --- a/src/compose.php +++ b/src/compose.php @@ -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')); }