From: pdontthink Date: Sat, 7 Dec 2013 11:02:18 +0000 (+0000) Subject: Preserve compose action during HTML address book activity X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=1b15e6a5b3974eb9c77a5745246e889115efe881 Preserve compose action during HTML address book activity git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14408 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/addrbook_search_html.php b/src/addrbook_search_html.php index 77833305..4be10b4c 100644 --- a/src/addrbook_search_html.php +++ b/src/addrbook_search_html.php @@ -43,7 +43,7 @@ sqgetGlobalVar('backend', $backend, SQ_POST); */ function addr_insert_hidden() { global $body, $subject, $send_to, $send_to_cc, $send_to_bcc, $mailbox, $mailprio, - $request_mdn, $request_dr, $identity, $session, $composeMessage; + $request_mdn, $request_dr, $identity, $session, $composeMessage, $action; //FIXME Do not echo HTML from the core. This file already uses templates mostly, so why are we echoing here at all?!? if (substr($body, 0, 1) == "\r") { @@ -56,6 +56,7 @@ function addr_insert_hidden() { echo addHidden('attachments', urlencode(serialize($composeMessage->entities))); echo addHidden('session', $session). + addHidden('smaction', $action). addHidden('subject', $subject). addHidden('send_to', $send_to). addHidden('send_to_bcc', $send_to_bcc).