aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 c0932de2e..a8515a6a7 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);