Changeset 8403 for trunk/admin/batch_manager_global.php
- Timestamp:
- Dec 31, 2010, 12:58:14 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/batch_manager_global.php
r8398 r8403 121 121 array($_POST['associate']) 122 122 ); 123 124 $_SESSION['page_infos'] = array( 125 l10n('Information data registered in database') 126 ); 127 128 // let's refresh the page because we the current set might be modified 129 $redirect_url = get_root_url().'admin.php?page='.$_GET['page']; 130 redirect($redirect_url); 123 131 } 124 132 … … 150 158 pwg_query($query); 151 159 152 // we remove the dissociated images if we are currently displaying the 153 // category to dissociate from. 154 // 155 // TODO we can display the photo of a given album without the $_GET['cat'] 156 if (is_numeric($_GET['cat']) and $_POST['dissociate'] == $_GET['cat']) 157 { 158 $page['cat_elements_id'] = array_diff( 159 $page['cat_elements_id'], 160 $dissociables 161 ); 162 } 163 } 164 165 update_category($_POST['dissociate']); 160 update_category($_POST['dissociate']); 161 162 $_SESSION['page_infos'] = array( 163 l10n('Information data registered in database') 164 ); 165 166 // let's refresh the page because we the current set might be modified 167 $redirect_url = get_root_url().'admin.php?page='.$_GET['page']; 168 redirect($redirect_url); 169 } 166 170 } 167 171
Note: See TracChangeset
for help on using the changeset viewer.