Changeset 18464
- Timestamp:
- Oct 4, 2012, 6:43:58 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/category_cats.inc.php
r18462 r18464 72 72 $categories_sql = hash_from_query($query, 'id'); 73 73 74 if ($page['section']=='recent_cats') 75 { 76 usort($categories_sql, 'global_rank_compare'); 77 } 78 74 79 $page['total_categories'] = count($categories_sql); 75 80 … … 183 188 } 184 189 185 if ($page['section']=='recent_cats')186 {187 usort($categories, 'global_rank_compare');188 }189 190 if (count($categories) > 0) 190 191 {
Note: See TracChangeset
for help on using the changeset viewer.