Selaa lähdekoodia

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

thomppj 23 vuotta sitten
vanhempi
commit
e1ef7a722c
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      functions/imap_mailbox.php

+ 1 - 1
functions/imap_mailbox.php

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