[Svn] r4873 - trunk/roundcubemail/program/steps/mail

trac at roundcube.net trac at roundcube.net
Wed Jun 22 23:54:19 CEST 2011


Author: thomasb
Date: 2011-06-22 16:54:18 -0500 (Wed, 22 Jun 2011)
New Revision: 4873

Modified:
   trunk/roundcubemail/program/steps/mail/pagenav.inc
Log:
Fix check in pagenav

Modified: trunk/roundcubemail/program/steps/mail/pagenav.inc
===================================================================
--- trunk/roundcubemail/program/steps/mail/pagenav.inc	2011-06-22 05:52:48 UTC (rev 4872)
+++ trunk/roundcubemail/program/steps/mail/pagenav.inc	2011-06-22 21:54:18 UTC (rev 4873)
@@ -28,7 +28,7 @@
 // Get messages count (only messages, no threads here)
 $cnt  = $IMAP->messagecount(NULL, 'ALL');
 
-if ($_SESSION['sort_col'] == 'date' && $_SESSION['sort_order'] != 'DESC'
+if ($_SESSION['sort_col'] == 'date' && $_SESSION['sort_order'] == 'DESC'
     && empty($_REQUEST['_search']) && !$CONFIG['skip_deleted'] && !$IMAP->threading
 ) {
     // this assumes that we are sorted by date_DESC

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



More information about the Svn mailing list