Browse Source

fix icon manager sort

CauseFX 5 years ago
parent
commit
3ed677a72d
1 changed files with 1 additions and 1 deletions
  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'];
 		}
 		}