diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-10-21 16:26:40 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-10-21 16:26:40 +0000 |
| commit | 4b0addd2da3d91c4b2cb1cf890c31b107d960854 (patch) | |
| tree | 2681c02c40e200395e00fc6fbbb065bf3ecfa506 /roundcubemail | |
| parent | 62f44725a8b0a91dc37eb8e76ed3017fc2ca41de (diff) | |
- Fix threads cache validation when skip_deleted=true
git-svn-id: https://svn.roundcube.net/trunk@5357 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail')
| -rw-r--r-- | roundcubemail/program/include/rcube_imap_cache.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_imap_cache.php b/roundcubemail/program/include/rcube_imap_cache.php index b51bc6db9..ee4e92542 100644 --- a/roundcubemail/program/include/rcube_imap_cache.php +++ b/roundcubemail/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; |
