Fixed small bug to folder list sorting...
authorthomppj <thomppj@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 24 Dec 2001 04:39:18 +0000 (04:39 +0000)
committerthomppj <thomppj@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 24 Dec 2001 04:39:18 +0000 (04:39 +0000)
----------------------------------------------------------------------

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1900 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/imap_mailbox.php

index a4936b6..770186f 100755 (executable)
@@ -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});