diff options
author | alecpl <alec@alec.pl> | 2011-01-31 19:34:47 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-01-31 19:34:47 +0000 |
commit | ae3d6065d823d784f11515fcb47a7a981634821b (patch) | |
tree | 42634c1e2fe9fd48a78cc3ea1d73e46ebfc99a71 /program/steps/mail | |
parent | 8c27d0032fd75668d26636f2146af64709147ab4 (diff) |
- Fix add/remove columns in message list when message_sort_order isn't set (#1487751)
Diffstat (limited to 'program/steps/mail')
-rw-r--r-- | program/steps/mail/func.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 131a5aa87..72283d02d 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -58,7 +58,7 @@ if (!empty($_GET['_page'])) if (!isset($_SESSION['sort_col'])) $_SESSION['sort_col'] = $CONFIG['message_sort_col']; if (!isset($_SESSION['sort_order'])) - $_SESSION['sort_order'] = $CONFIG['message_sort_order']; + $_SESSION['sort_order'] = strtoupper($CONFIG['message_sort_order']) == 'ASC' ? 'ASC' : 'DESC'; // set threads mode $a_threading = $RCMAIL->config->get('message_threading', array()); |