diff options
author | alecpl <alec@alec.pl> | 2011-10-21 16:26:40 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-10-21 16:26:40 +0000 |
commit | 544619a4550da562e849ac9d05152d8055d009b9 (patch) | |
tree | 03e5149c06c7075b64d5be403bb13ba9ad7b2620 /program | |
parent | f09c184786313c85616985fe2a6cfabf53f06777 (diff) |
- Fix threads cache validation when skip_deleted=true
Diffstat (limited to 'program')
-rw-r--r-- | program/include/rcube_imap_cache.php | 2 |
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; |