mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
- 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
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user