summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2006-01-23 23:11:33 +0000
committerthomascube <thomas@roundcube.net>2006-01-23 23:11:33 +0000
commit583672fb48055a0e16ed573a4a64519d2a1b6645 (patch)
tree4080a95e8f4b7746e5a29fecaec70ebb33f7b802
parent03cc16e047ed0eb3146a61acb1512e4523bf80f4 (diff)
Solved some sorting problems
-rw-r--r--program/steps/mail/list.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/program/steps/mail/list.inc b/program/steps/mail/list.inc
index cb1d7a6c7..391c05b73 100644
--- a/program/steps/mail/list.inc
+++ b/program/steps/mail/list.inc
@@ -24,9 +24,10 @@ $OUTPUT_TYPE = 'js';
$unseen = $IMAP->messagecount($mbox, 'UNSEEN', !empty($_GET['_refresh']) ? TRUE : FALSE);
$count = $IMAP->messagecount();
+$sort = isset($_GET['_sort']) ? $_GET['_sort'] : false;
// is there a sort type for this request?
-if ($sort = isset($_GET['_sort']) ? $_GET['_sort'] : false)
+if ($sort)
{
// yes, so set the sort vars
list($sort_col, $sort_order) = explode('_', $sort);