alecpl
2011-10-21 544619a4550da562e849ac9d05152d8055d009b9
- Fix threads cache validation when skip_deleted=true


1 files modified
2 ■■■ changed files
program/include/rcube_imap_cache.php 2 ●●● patch | view | raw | blame | history
program/include/rcube_imap_cache.php
@@ -853,7 +853,7 @@
        // @TODO: find better validity check for threaded index
        if ($is_thread) {
            // check messages number...
            if ($mbox_data['EXISTS'] != @max(array_keys($index['depth']))) {
            if (!$this->skip_deleted && $mbox_data['EXISTS'] != @max(array_keys($index['depth']))) {
                return false;
            }
            return true;