diff options
| author | Nathan Kinkade <nkinkade@nkinka.de> | 2009-03-18 15:46:04 +0000 |
|---|---|---|
| committer | Nathan Kinkade <nkinkade@nkinka.de> | 2009-03-18 15:46:04 +0000 |
| commit | cbc33bdcd5dd09e69004ad93afedf3b3c25ec5b3 (patch) | |
| tree | 900bc60329b30ca8a5a3d09945075a8ae1071788 /roundcubemail/program | |
| parent | 8f612c34a9356eb002ed33494ccbcb1d9df3b872 (diff) | |
Turns out I was wrong with commit 8f612c3, and this commit seems actually fix the problem.
Diffstat (limited to 'roundcubemail/program')
| -rw-r--r-- | roundcubemail/program/include/rcube_imap.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/include/rcube_imap.php b/roundcubemail/program/include/rcube_imap.php index 00587a36d..a05dcf1aa 100644 --- a/roundcubemail/program/include/rcube_imap.php +++ b/roundcubemail/program/include/rcube_imap.php @@ -545,7 +545,7 @@ class rcube_imap if ($sql_arr = $this->db->fetch_array($sql_result)) return $sql_arr[0]; } - list ($thread_tree, $msg_depth, $has_children) = iil_C_Thread($this->conn, $mailbox, 'REFERENCES', 'ALL'); + list ($thread_tree, $msg_depth, $has_children) = iil_C_Thread($this->conn, $mailbox, rcmail::get_instance()->config->get('imap_thread_algorithm'), 'ALL'); $this->update_thread_cache($mailbox, $thread_tree, $msg_depth, $has_children); return count($thread_tree); } @@ -587,7 +587,7 @@ class rcube_imap $message_threading = $this->get_capability('thread=references') && rcmail::get_instance()->imap->threading; - $max = $this->_messagecount($mailbox, $message_threading ? 'THREADS' : 'ALL'); + $max = $this->_messagecount($mailbox, 'ALL'); list($begin, $end) = $this->_get_message_range($max, $page); |
