Changeset 1861 for trunk/picture.php
- Timestamp:
- Feb 27, 2007, 2:56:16 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/picture.php
r1844 r1861 37 37 if (isset($page['category'])) 38 38 { 39 check_restrictions($page['category'] );39 check_restrictions($page['category']['id']); 40 40 } 41 41 … … 200 200 UPDATE '.CATEGORIES_TABLE.' 201 201 SET representative_picture_id = '.$page['image_id'].' 202 WHERE id = '.$page['category'] .'202 WHERE id = '.$page['category']['id'].' 203 203 ;'; 204 204 pwg_query($query); … … 421 421 $url_admin = 422 422 get_root_url().'admin.php?page=picture_modify' 423 .'&cat_id='.(isset($page['category']) ? $page['category'] : '')423 .'&cat_id='.(isset($page['category']) ? $page['category']['id'] : '') 424 424 .'&image_id='.$page['image_id'] 425 425 ;
Note: See TracChangeset
for help on using the changeset viewer.