From 79cecc00d76f1f34ad76d2de904a0dc3adf0978a Mon Sep 17 00:00:00 2001 From: pdontthink Date: Mon, 30 May 2016 08:15:26 +0000 Subject: [PATCH] Allow priority and identity selections to be given by callers. Looks to have been intended to work this way, but never tested. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14556 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/compose.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/compose.php b/src/compose.php index 4740b0ff..ee8bcaaa 100644 --- a/src/compose.php +++ b/src/compose.php @@ -73,6 +73,7 @@ if (isset($send) && $send) { } sqgetGlobalVar('session',$session, $SQ_GLOBAL); sqgetGlobalVar('mailbox',$mailbox, $SQ_GLOBAL); +sqgetGlobalVar('identity',$orig_identity, $SQ_GLOBAL); if(!sqgetGlobalVar('identity',$identity, $SQ_GLOBAL)) { $identity=0; } @@ -753,6 +754,12 @@ elseif (isset($sigappend)) { if (isset($subject)) { $values['subject'] = $subject; } + if (isset($mailprio)) { + $values['mailprio'] = $mailprio; + } + if (isset($orig_identity)) { + $values['identity'] = $orig_identity; + } showInputForm($session, $values); } -- 2.25.1