First draft release notes...
[squirrelmail.git] / functions / imap_mailbox.php
index 9ce0ff410c58a4f72b8b23580c11666acbc17fd2..770186fce97f655436e0af143a2c7948e121e4ca 100755 (executable)
@@ -3,7 +3,7 @@
 /**
  * imap_mailbox.php
  *
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
  * This impliments all functions that manipulate mailboxes
@@ -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});