diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-01-31 19:34:47 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-01-31 19:34:47 +0000 |
| commit | 7eff4202db0d356ff93050d30db851692c4a6bb1 (patch) | |
| tree | a62a92b90b24fbe03e219f5f9122c80759fa007b /roundcubemail/program/steps | |
| parent | 163a756de5d79ca945f45c46498110375ff69b2d (diff) | |
- Fix add/remove columns in message list when message_sort_order isn't set (#1487751)
git-svn-id: https://svn.roundcube.net/trunk@4474 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
| -rw-r--r-- | roundcubemail/program/steps/mail/func.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc index 131a5aa87..72283d02d 100644 --- a/roundcubemail/program/steps/mail/func.inc +++ b/roundcubemail/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()); |
