summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/mail/mark.inc
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2007-05-18 11:29:25 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2007-05-18 11:29:25 +0000
commita96aba91f1aacde51e10bc49520911201713a380 (patch)
treebae6c0ea394ea703fed87fefbbd51e109e69c8a3 /roundcubemail/program/steps/mail/mark.inc
parentd9339daa138f0bb552208a8dba3ab7f245b3424f (diff)
Use HTTP-POST requests for actions that change application state
git-svn-id: https://svn.roundcube.net/trunk@573 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/mark.inc')
-rw-r--r--roundcubemail/program/steps/mail/mark.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/mark.inc b/roundcubemail/program/steps/mail/mark.inc
index 0dd781e08..74510abe9 100644
--- a/roundcubemail/program/steps/mail/mark.inc
+++ b/roundcubemail/program/steps/mail/mark.inc
@@ -24,7 +24,7 @@ $a_flags_map = array(
'read' => 'SEEN',
'unread' => 'UNSEEN');
-if (($uids = get_input_value('_uid', RCUBE_INPUT_GET)) && ($flag = get_input_value('_flag', RCUBE_INPUT_GET)))
+if (($uids = get_input_value('_uid', RCUBE_INPUT_POST)) && ($flag = get_input_value('_flag', RCUBE_INPUT_POST)))
{
$flag = $a_flags_map[$flag] ? $a_flags_map[$flag] : strtoupper($flag);
$marked = $IMAP->set_flag($uids, $flag);