浏览代码

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

thomppj 23 年之前
父节点
当前提交
e1ef7a722c
共有 1 个文件被更改,包括 1 次插入1 次删除
  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});