Changeset 27336 for trunk/include/functions_tag.inc.php
- Timestamp:
- Feb 11, 2014, 10:47:44 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_tag.inc.php
r26649 r27336 71 71 GROUP BY tag_id 72 72 ;'; 73 $tag_counters = simple_hash_from_query($query, 'tag_id', 'counter');73 $tag_counters = query2array($query, 'tag_id', 'counter'); 74 74 75 75 if ( empty($tag_counters) ) … … 234 234 $query .= "\n".(empty($order_by) ? $conf['order_by'] : $order_by); 235 235 236 return array_from_query($query, 'id');236 return query2array($query, null, 'id'); 237 237 } 238 238 … … 321 321 OR ', $where_clauses); 322 322 323 $result = pwg_query($query); 324 $tags = array(); 325 while ($row = pwg_db_fetch_assoc($result)) 326 { 327 $tags[] = $row; 328 } 329 return $tags; 323 return query2array($query); 330 324 } 331 325
Note: See TracChangeset
for help on using the changeset viewer.