diff options
author | rvelices <rv-github@modusoptimus.com> | 2009-07-20 05:36:15 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2009-07-20 05:36:15 +0000 |
commit | 537b8430a2b504175862aab799254d0dc312f2b4 (patch) | |
tree | 3712dcf195c40d4967ddb569e9a3535496131380 /include | |
parent | a8d561b0bb4bb377c13bfada1a4e0211dbe0f661 (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/trunk@3642 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/functions_user.inc.php | 2 |
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); |