Explorar o código

fix icon manager sort

CauseFX %!s(int64=5) %!d(string=hai) anos
pai
achega
3ed677a72d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {
 			$allIcons[] = $item['path'] . $item['name'];
 		}