瀏覽代碼

fix icon manager sort

CauseFX 6 年之前
父節點
當前提交
3ed677a72d
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      api/classes/organizr.class.php

+ 1 - 1
api/classes/organizr.class.php

@@ -1089,7 +1089,7 @@ class Organizr
 				);
 				);
 			}
 			}
 		}
 		}
-		ksort($allIconsPrep);
+		uksort($allIconsPrep, 'strcasecmp');
 		foreach ($allIconsPrep as $item) {
 		foreach ($allIconsPrep as $item) {
 			$allIcons[] = $item['path'] . $item['name'];
 			$allIcons[] = $item['path'] . $item['name'];
 		}
 		}