Changeset 7556
- Timestamp:
- Nov 1, 2010, 10:06:51 PM (14 years ago)
- Location:
- trunk/admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/element_set_global.php
r7505 r7556 452 452 453 453 $query.= ' 454 WHERE id IN ('.implode(',', $page['cat_elements_id']).') 454 WHERE id IN ('.implode(',', $page['cat_elements_id']).')'; 455 456 if (is_numeric($_GET['cat'])) 457 { 458 $query.= ' 459 AND category_id = '.$_GET['cat']; 460 } 461 462 $query.= ' 455 463 '.$conf['order_by'].' 456 464 LIMIT '.$page['nb_images'].' OFFSET '.$page['start'].' -
trunk/admin/element_set_unit.php
r7505 r7556 212 212 213 213 $query.= ' 214 WHERE id IN ('.implode(',', $page['cat_elements_id']).') 214 WHERE id IN ('.implode(',', $page['cat_elements_id']).')'; 215 216 if (is_numeric($_GET['cat'])) 217 { 218 $query.= ' 219 AND category_id = '.$_GET['cat']; 220 } 221 222 $query.= ' 215 223 '.$conf['order_by'].' 216 224 LIMIT '.$page['nb_images'].' OFFSET '.$page['start'].'
Note: See TracChangeset
for help on using the changeset viewer.