thomascube
2006-02-22 745b1466fc76d5ded589e2469328086002430c1c
program/steps/mail/list.inc
@@ -24,9 +24,10 @@
$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);