Changeset 5244 in subversion


Ignore:
Timestamp:
Sep 19, 2011 12:15:36 PM (20 months ago)
Author:
alec
Message:
  • Fix PHP error when fetching messages index when threaded mode is enabled
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/rcube_imap.php

    r5240 r5244  
    15061506        if (!$sort_field) { 
    15071507            if ($this->skip_deleted) { 
    1508                 $a_index = $this->_search_index($mailbox, 'ALL'); 
     1508                $a_index = $this->conn->search($mailbox, 'ALL UNDELETED'); 
     1509                // I didn't found that SEARCH should return sorted IDs 
     1510                if (is_array($a_index)) 
     1511                    sort($a_index); 
    15091512            } else if ($max = $this->_messagecount($mailbox)) { 
    15101513                $a_index = range(1, $max); 
Note: See TracChangeset for help on using the changeset viewer.