summaryrefslogtreecommitdiff
path: root/program/steps/mail/show.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2005-10-26 22:12:36 +0000
committerthomascube <thomas@roundcube.net>2005-10-26 22:12:36 +0000
commitb076a460e5418ae8f0db0b4b392d91853fd2a21b (patch)
tree2528fa73bddf1fe04f35192d611d2dd1f91d0671 /program/steps/mail/show.inc
parentfa3addfc5d03046cd173fde7e7875bad2badc6da (diff)
Finished message sorting and fixed some skin issues
Diffstat (limited to 'program/steps/mail/show.inc')
-rw-r--r--program/steps/mail/show.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/show.inc b/program/steps/mail/show.inc
index d9ff5d443..992d06f79 100644
--- a/program/steps/mail/show.inc
+++ b/program/steps/mail/show.inc
@@ -65,7 +65,7 @@ if ($_GET['_uid'])
$javascript .= sprintf("%s.set_env('safemode', '%b');", $JS_OBJECT_NAME, $_GET['_safe']);
// get previous and next message UID
- $a_msg_index = $IMAP->message_index();
+ $a_msg_index = $IMAP->message_index(NULL, $_SESSION['sort_col'], $_SESSION['sort_order']);
$MESSAGE['index'] = array_search((string)$_GET['_uid'], $a_msg_index, TRUE);
if (isset($a_msg_index[$MESSAGE['index']-1]))