alecpl
2010-03-05 a4f77800443173a73ff05a172ac6b0dd4d5e9a42
- Fix check_recent action when skip_deleted=true (#1486535)


1 files modified
3 ■■■■■ changed files
program/include/rcube_imap.php 3 ●●●●● patch | view | raw | blame | history
program/include/rcube_imap.php
@@ -515,6 +515,9 @@
      // 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')