diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-03-05 12:57:58 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-03-05 12:57:58 +0000 |
| commit | 85a86ba73467ebae111ceb6e9bc791ce2c1405b4 (patch) | |
| tree | 2462c386cfee577ca96940dff558bd34a921bdc1 /roundcubemail | |
| parent | 58200af944a2d4d2d52cf71c2e350836acfb1649 (diff) | |
- Fix check_recent action when skip_deleted=true (#1486535)
git-svn-id: https://svn.roundcube.net/trunk@3329 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail')
| -rw-r--r-- | roundcubemail/program/include/rcube_imap.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/roundcubemail/program/include/rcube_imap.php b/roundcubemail/program/include/rcube_imap.php index 4c3c64767..66e6fa76b 100644 --- a/roundcubemail/program/include/rcube_imap.php +++ b/roundcubemail/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') |
