Changeset 12576 for trunk/admin
- Timestamp:
- Nov 7, 2011, 11:53:23 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/cat_modify.php
r11041 r12576 76 76 } 77 77 78 if (isset($_POST['parent']) and $cat_info['id_uppercat'] != $_POST['parent']) 78 // in case the use moves his album to the gallery root, we force 79 // $_POST['parent'] from 0 to null to be compared with 80 // $cat_info['id_uppercat'] 81 if (empty($_POST['parent'])) 82 { 83 $_POST['parent'] = null; 84 } 85 86 if ($cat_info['id_uppercat'] != $_POST['parent']) 79 87 { 80 88 move_categories( array($_GET['cat_id']), $_POST['parent'] );
Note: See TracChangeset
for help on using the changeset viewer.