- Fix check_recent action when skip_deleted=true (#1486535)

release-0.6
alecpl 15 years ago
parent e576f25578
commit a4f7780044

@ -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')

Loading…
Cancel
Save