aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2009-07-20 05:37:37 +0000
committerrvelices <rv-github@modusoptimus.com>2009-07-20 05:37:37 +0000
commitd8f1c262de1d9907890e6e8bbb6212ce6d93b5c3 (patch)
treed7ea5613022a1906382e7ac3feae417cf8d80b5f /include
parent30f0e85768e5efc84a8115b1b8544a525ae3c71e (diff)
- bug fix (use uasort for computed categories instead of usort) - I think this is an old bug and somehow it worked before)
git-svn-id: http://piwigo.org/svn/branches/2.0@3643 68402e56-0260-453c-a942-63ccdbb3a9ee
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 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);