From: stekkel Date: Tue, 30 Jul 2002 10:27:00 +0000 (+0000) Subject: fix for handling other incoming vars (Thnx Bruce ) X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;ds=sidebyside;h=b9928adcbe63b4c945a6a444aaf7f5073a9a80f2;p=squirrelmail.git fix for handling other incoming vars (Thnx Bruce ) git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3176 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/compose.php b/src/compose.php index 3c83ce42..c1795629 100644 --- a/src/compose.php +++ b/src/compose.php @@ -359,6 +359,17 @@ elseif (isset($sigappend)) { if (!isset($action)) $action = ''; $values = newMail($imapConnection,$mailbox,$passed_id,$passed_ent_id, $action, $session); + /* in case the origin is not read_body.php */ + if (isset($send_to)) { + $values['send_to'] = $send_to; + } + if (isset($send_to_cc)) { + $values['send_to_cc'] = $send_cc; + } + if (isset($send_to_bcc)) { + $values['send_to_bcc'] = $send_bcc; + } + showInputForm($session, $values); sqimap_logout($imapConnection); @@ -384,6 +395,17 @@ elseif (isset($sigappend)) { if (!isset($action)) $action = ''; $values = newMail($imapConnection,$mailbox,$passed_id,$passed_ent_id, $action, $session); + + /* in case the origin is not read_body.php */ + if (isset($send_to)) { + $values['send_to'] = $send_to; + } + if (isset($send_to_cc)) { + $values['send_to_cc'] = $send_cc; + } + if (isset($send_to_bcc)) { + $values['send_to_bcc'] = $send_bcc; + } showInputForm($session, $values); sqimap_logout($imapConnection); }