diff options
author | alecpl <alec@alec.pl> | 2008-06-05 17:31:57 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-06-05 17:31:57 +0000 |
commit | 077070381f4e97e98c5edf3ce6b456c4c57d057d (patch) | |
tree | 6447c08afbdf9f8c15bb74e72b9e4cdbb00d6955 /program/include/rcube_imap.php | |
parent | 49e5f7232893667d4a5b9d9b6f3454eef56ece45 (diff) |
#1485106
Diffstat (limited to 'program/include/rcube_imap.php')
-rw-r--r-- | program/include/rcube_imap.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php index 5e56eedb3..43c311735 100644 --- a/program/include/rcube_imap.php +++ b/program/include/rcube_imap.php @@ -1466,7 +1466,6 @@ class rcube_imap if (!is_array($a_uids)) return false; - // convert uids to message ids $a_mids = array(); foreach ($a_uids as $uid) @@ -1483,7 +1482,7 @@ class rcube_imap } // remove message ids from search set - if ($moved && $this->search_set && $mailbox == $this->mailbox) + if ($deleted && $this->search_set && $mailbox == $this->mailbox) $this->search_set = array_diff($this->search_set, $a_mids); // remove deleted messages from cache |