summaryrefslogtreecommitdiff
path: root/program/steps/mail/mark.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2007-05-18 11:29:25 +0000
committerthomascube <thomas@roundcube.net>2007-05-18 11:29:25 +0000
commit8d07583f3920f27186ccc16ea1ecb49104f1e32d (patch)
treed78dc7781c357e9323313585c1cb20104a3a61ee /program/steps/mail/mark.inc
parent3c3b3517c1d806c1602d09b216348954f17a8750 (diff)
Use HTTP-POST requests for actions that change application state
Diffstat (limited to 'program/steps/mail/mark.inc')
-rw-r--r--program/steps/mail/mark.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/mark.inc b/program/steps/mail/mark.inc
index 0dd781e08..74510abe9 100644
--- a/program/steps/mail/mark.inc
+++ b/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);