Preserve compose action during HTML address book activity
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 7 Dec 2013 11:02:18 +0000 (11:02 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 7 Dec 2013 11:02:18 +0000 (11:02 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14408 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/addrbook_search_html.php

index 778333055deea84ce9fbcd6e574a61eeb6a33039..4be10b4cda28654efa7ea79bd91a6eaeb589396f 100644 (file)
@@ -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).