thomascube
2010-03-02 f2cdc551e77ff609bcb4418c22437b8130227217
program/include/rcube_imap.php
@@ -880,7 +880,7 @@
    $old_maxuid = intval($_SESSION['maxuid'][$mailbox]);
    
    // refresh message count -> will update $_SESSION['maxuid'][$mailbox]
    $this->messagecount($mbox_name, 'ALL', true);
    $this->_messagecount($mailbox, 'ALL', true);
    
    if ($_SESSION['maxuid'][$mailbox] > $old_maxuid) {
      $maxuid = max(1, $old_maxuid+1);