diff options
author | alecpl <alec@alec.pl> | 2010-03-05 12:57:58 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-03-05 12:57:58 +0000 |
commit | a4f77800443173a73ff05a172ac6b0dd4d5e9a42 (patch) | |
tree | babc60a3f454bb2539f6efb28d3bee154004fe3f | |
parent | e576f25578eb1e38ea2484ade0e74ac317827485 (diff) |
- Fix check_recent action when skip_deleted=true (#1486535)
-rw-r--r-- | program/include/rcube_imap.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php index 4c3c64767..66e6fa76b 100644 --- a/program/include/rcube_imap.php +++ b/program/include/rcube_imap.php @@ -515,6 +515,9 @@ class rcube_imap // not very performant but more precise (using UNDELETED) $index = $this->_search_index($mailbox, $search_str); $count = is_array($index) ? count($index) : 0; + + if ($mode == 'ALL') + $_SESSION['maxuid'][$mailbox] = $index ? $this->_id2uid(max($index)) : 0; } else { if ($mode == 'UNSEEN') |