summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube/rcube_imap.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-06-29 17:11:24 +0200
committerAleksander Machniak <alec@alec.pl>2013-06-29 17:11:24 +0200
commitd4a2ea1d87880401b4bdd883343670961ba7f080 (patch)
treee0a88989f3b3b3f84aedbd73ed4f2ad5658c32e7 /program/lib/Roundcube/rcube_imap.php
parent7045bb9c07d31b6de5f2578d9a9f9971fc39f1cf (diff)
Fix messages list sorting with THREAD=REFS
Diffstat (limited to 'program/lib/Roundcube/rcube_imap.php')
-rw-r--r--program/lib/Roundcube/rcube_imap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_imap.php b/program/lib/Roundcube/rcube_imap.php
index 491101d0c..6b30a5c7b 100644
--- a/program/lib/Roundcube/rcube_imap.php
+++ b/program/lib/Roundcube/rcube_imap.php
@@ -1370,7 +1370,7 @@ class rcube_imap extends rcube_storage
// THREAD=REFERENCES: sorting by sent date of root message
// THREAD=REFS: sorting by the most recent date in each thread
- if ($this->get_capability('THREAD') != 'REFS') {
+ if ($this->threading != 'REFS') {
$sortby = $this->sort_field ? $this->sort_field : 'date';
$index = $this->index($this->folder, $sortby, $this->sort_order, true, true);