From 155b62c983ff0d9685d623ccdda4db454df50b0d Mon Sep 17 00:00:00 2001 From: thomppj Date: Mon, 24 Dec 2001 04:39:18 +0000 Subject: [PATCH] Fixed small bug to folder list sorting... ---------------------------------------------------------------------- git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1900 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/imap_mailbox.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/imap_mailbox.php b/functions/imap_mailbox.php index a4936b67..770186fc 100755 --- a/functions/imap_mailbox.php +++ b/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}); -- 2.25.1