Changeset 12575
- Timestamp:
- Nov 7, 2011, 11:52:46 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.3/admin/cat_modify.php
r11041 r12575 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.