Changeset 17980 for trunk/admin
- Timestamp:
- Sep 18, 2012, 1:43:36 PM (12 years ago)
- Location:
- trunk/admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions.php
r17765 r17980 1603 1603 JOIN '.IMAGES_TABLE.' ON image_id=id 1604 1604 WHERE id IN ('.implode(',', $images).') 1605 '.((is_array($categories) and count($categories)>0) ? 'AND category_id NOT IN ('.implode(',', $categories).')' : null).' 1605 '; 1606 1607 if (is_array($categories) and count($categories) > 0) 1608 { 1609 $query.= ' 1610 AND category_id NOT IN ('.implode(',', $categories).') 1611 '; 1612 } 1613 1614 $query.= ' 1606 1615 AND (storage_category_id IS NULL OR storage_category_id != category_id) 1607 1616 ;'; -
trunk/admin/picture_modify.php
r16334 r17980 172 172 173 173 // association to albums 174 if (!isset($_POST['associate'])) 175 { 176 $_POST['associate'] = array(); 177 } 174 178 move_images_to_categories(array($_GET['image_id']), $_POST['associate']); 175 179
Note: See TracChangeset
for help on using the changeset viewer.