Browse Source

Fixed small bug to folder list sorting...
----------------------------------------------------------------------

thomppj 23 years ago
parent
commit
e1ef7a722c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      functions/imap_mailbox.php

+ 1 - 1
functions/imap_mailbox.php

@@ -252,7 +252,7 @@ function user_strcasecmp($a, $b) {
             $result = 0;
             $result = 0;
         } else if (($a_del == $delimiter) && ($b_del != $delimiter)) {
         } else if (($a_del == $delimiter) && ($b_del != $delimiter)) {
             $result = 1;
             $result = 1;
-        } else if (($a_del != $delimiter) && ($b_del != $delimiter)) {
+        } else if (($a_del != $delimiter) && ($b_del == $delimiter)) {
             $result = -1;
             $result = -1;
         } else {
         } else {
             $result = strcasecmp($a{$c}, $b{$c});
             $result = strcasecmp($a{$c}, $b{$c});