[Svn] r3329 - trunk/roundcubemail/program/include

trac at roundcube.net trac at roundcube.net
Fri Mar 5 13:57:58 CET 2010


Author: alec
Date: 2010-03-05 06:57:58 -0600 (Fri, 05 Mar 2010)
New Revision: 3329

Modified:
   trunk/roundcubemail/program/include/rcube_imap.php
Log:
- Fix check_recent action when skip_deleted=true (#1486535)


Modified: trunk/roundcubemail/program/include/rcube_imap.php
===================================================================
--- trunk/roundcubemail/program/include/rcube_imap.php	2010-03-05 12:19:22 UTC (rev 3328)
+++ trunk/roundcubemail/program/include/rcube_imap.php	2010-03-05 12:57:58 UTC (rev 3329)
@@ -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')

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list