aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/functions_user.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions_user.inc.php b/include/functions_user.inc.php
index 68ca52a7f..3ead0e820 100644
--- a/include/functions_user.inc.php
+++ b/include/functions_user.inc.php
@@ -656,7 +656,7 @@ FROM '.CATEGORIES_TABLE.' as c
$cats += array($row['cat_id'] => $row);
}
- usort($cats, 'global_rank_compare');
+ uasort($cats, 'global_rank_compare');
compute_categories_data($cats);