From 057dbe18b4d3ebdabd1df09f36b2e5e91e4944be Mon Sep 17 00:00:00 2001 From: alex-brainstorm Date: Wed, 10 Mar 2004 15:46:04 +0000 Subject: [PATCH] Get Flagged buttons value. So far, Mark was really Deleting, since it's the default action. IMHO should really test on delete button before deleting. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@6761 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/move_messages.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/move_messages.php b/src/move_messages.php index 008bf1ea..b42cc11b 100644 --- a/src/move_messages.php +++ b/src/move_messages.php @@ -57,7 +57,6 @@ function attachSelectedMessages($msg, $imapConnection) { $body_a = sqimap_run_command($imapConnection, "FETCH $id RFC822", true, $response, $readmessage, $uid_support); if ($response == 'OK') { - // fetch the subject for the message with $id from msgs. // is there a more efficient way to do this? foreach($msgs as $k => $vals) { @@ -113,6 +112,8 @@ sqgetGlobalVar('expungeButton', $expungeButton, SQ_POST); sqgetGlobalVar('undeleteButton', $undeleteButton, SQ_POST); sqgetGlobalVar('markRead', $markRead, SQ_POST); sqgetGlobalVar('markUnread', $markUnread, SQ_POST); +sqgetGlobalVar('markFlagged', $markFlagged, SQ_POST); +sqgetGlobalVar('markUnflagged', $markUnflagged, SQ_POST); sqgetGlobalVar('attache', $attache, SQ_POST); sqgetGlobalVar('location', $location, SQ_POST); sqgetGlobalVar('bypass_trash', $bypass_trash, SQ_POST); -- 2.25.1