Changeset 4387 for trunk/include/functions_tag.inc.php
- Timestamp:
- Nov 29, 2009, 3:06:16 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_tag.inc.php
r4334 r4387 50 50 WHERE' 51 51 ).' 52 GROUP BY tag_id 53 ORDER BY NULL'; 52 GROUP BY tag_id'; 54 53 $tag_counters = simple_hash_from_query($query, 'tag_id', 'counter'); 55 54 … … 235 234 } 236 235 $query .=' 237 GROUP BY tag_id ';236 GROUP BY tag_id, t.id, t.name, t.url_name'; 238 237 if ($max_tags>0) 239 238 { … … 241 240 ORDER BY counter DESC 242 241 LIMIT '.$max_tags; 243 }244 else245 {246 $query .= '247 ORDER BY NULL';248 242 } 249 243
Note: See TracChangeset
for help on using the changeset viewer.