summaryrefslogtreecommitdiff
path: root/program/include/rcube_imap_cache.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-10-26 11:48:27 +0000
committerthomascube <thomas@roundcube.net>2011-10-26 11:48:27 +0000
commit799e1201459b1ee6422d2725b502376b34950f23 (patch)
tree7fce18fff4828d4f6ccab02e9c32756a166f2b40 /program/include/rcube_imap_cache.php
parent831fde154dc88d7e9c0912ac382192094b51f348 (diff)
Backporting changes trom trunk (r5357-r5365)
Diffstat (limited to 'program/include/rcube_imap_cache.php')
-rw-r--r--program/include/rcube_imap_cache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_imap_cache.php b/program/include/rcube_imap_cache.php
index b51bc6db9..ee4e92542 100644
--- a/program/include/rcube_imap_cache.php
+++ b/program/include/rcube_imap_cache.php
@@ -853,7 +853,7 @@ class rcube_imap_cache
// @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;