From 8d07583f3920f27186ccc16ea1ecb49104f1e32d Mon Sep 17 00:00:00 2001 From: thomascube Date: Fri, 18 May 2007 11:29:25 +0000 Subject: Use HTTP-POST requests for actions that change application state --- program/steps/mail/list.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/steps/mail/list.inc') diff --git a/program/steps/mail/list.inc b/program/steps/mail/list.inc index 162624c36..a246254d1 100644 --- a/program/steps/mail/list.inc +++ b/program/steps/mail/list.inc @@ -42,7 +42,7 @@ else if ($count = $IMAP->messagecount()) $a_headers = $IMAP->list_headers($mbox_name, NULL, $sort_col, $sort_order); -$unseen = $IMAP->messagecount($mbox_name, 'UNSEEN', !empty($_GET['_refresh']) ? TRUE : FALSE); +$unseen = $IMAP->messagecount($mbox_name, 'UNSEEN', !empty($_REQUEST['_refresh']) ? TRUE : FALSE); // update message count display $pages = ceil($count/$IMAP->page_size); -- cgit v1.2.3