Changeset e9a97499 in github
- Timestamp:
- Nov 18, 2010 9:24:47 AM (3 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- d2b8840
- Parents:
- 0f9d8ca
- File:
-
- 1 edited
-
program/include/rcube_imap.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
program/include/rcube_imap.php
r5d23891 re9a97499 905 905 if (empty($this->icache['threads'])) { 906 906 // get all threads 907 list ($thread_tree, $msg_depth, $has_children) = $this->conn->thread(908 $ mailbox, $this->threading, $this->skip_deleted ? 'UNDELETED' : '');907 $result = $this->conn->thread($mailbox, $this->threading, 908 $this->skip_deleted ? 'UNDELETED' : ''); 909 909 910 910 // add to internal (fast) cache 911 911 $this->icache['threads'] = array(); 912 $this->icache['threads']['tree'] = $thread_tree;913 $this->icache['threads']['depth'] = $msg_depth;914 $this->icache['threads']['has_children'] = $has_children;912 $this->icache['threads']['tree'] = is_array($result) ? $result[0] : array(); 913 $this->icache['threads']['depth'] = is_array($result) ? $result[1] : array(); 914 $this->icache['threads']['has_children'] = is_array($result) ? $result[2] : array(); 915 915 } 916 916 … … 1693 1693 return $a_messages; 1694 1694 } 1695 1695 1696 1696 if ($sort_field && $this->get_capability('SORT')) { 1697 1697 $charset = $charset ? $charset : $this->default_charset;
Note: See TracChangeset
for help on using the changeset viewer.
