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

trac at roundcube.net trac at roundcube.net
Wed Mar 3 10:49:29 CET 2010


Author: alec
Date: 2010-03-03 03:49:29 -0600 (Wed, 03 Mar 2010)
New Revision: 3309

Modified:
   trunk/roundcubemail/program/include/rcube_imap.php
Log:
- more case sensitive matching


Modified: trunk/roundcubemail/program/include/rcube_imap.php
===================================================================
--- trunk/roundcubemail/program/include/rcube_imap.php	2010-03-03 08:41:37 UTC (rev 3308)
+++ trunk/roundcubemail/program/include/rcube_imap.php	2010-03-03 09:49:29 UTC (rev 3309)
@@ -243,7 +243,7 @@
       $this->default_folders = $arr;
 
       // add inbox if not included
-      if (!in_array_nocase('INBOX', $this->default_folders))
+      if (!in_array('INBOX', $this->default_folders))
         array_unshift($this->default_folders, 'INBOX');
       }
     }
@@ -409,7 +409,7 @@
       }
 
     // INBOX should always be available
-    if (!in_array_nocase('INBOX', $a_out))
+    if (!in_array('INBOX', $a_out))
       array_unshift($a_out, 'INBOX');
 
     // sort mailboxes
@@ -777,7 +777,7 @@
 
         // if not already sorted
         $a_msg_headers = iil_SortHeaders($a_msg_headers, $this->sort_field, $this->sort_order);
-      
+
         // only return the requested part of the set
 	$a_msg_headers = array_slice(array_values($a_msg_headers), $start_msg, min($cnt-$start_msg, $this->page_size));
         if ($slice)

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



More information about the Svn mailing list