Changeset 19832 for branches/version-2_5-dev/data/class/pages/admin/design/LC_Page_Admin_Design_Bloc.php
- Timestamp:
- 2011/01/05 23:00:33 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/pages/admin/design/LC_Page_Admin_Design_Bloc.php
r19807 r19832 165 165 166 166 $bloc_id = $arrBlocData[0]['bloc_id']; 167 $this->objDisplay->redirect($this->getLocation("./bloc.php", 168 array("bloc_id" => $bloc_id, 169 "device_type_id" => $device_type_id, 170 "msg" => "on"))); 167 $arrQueryString = array( 168 'bloc_id' => $bloc_id, 169 'device_type_id' => $device_type_id, 170 'msg' => 'on', 171 ); 172 $this->objDisplay->reload($arrQueryString, true); 171 173 exit; 172 174 }else{ … … 203 205 } 204 206 } 205 $this->objDisplay->redirect($this->getLocation("./bloc.php", 206 array("device_type_id" => $device_type_id))); 207 $this->objDisplay->reload(array("device_type_id" => $device_type_id), true); 207 208 exit; 208 209 break; … … 269 270 $arrUpdData['bloc_id'] = $objQuery->nextVal('dtb_bloc_bloc_id'); 270 271 $arrUpdData['device_type_id'] = $device_type_id; 271 $arrUpdData[' create_date'] = "now()";272 $arrUpdData['update_date'] = "now()"; 272 273 $ret = $objQuery->insert('dtb_bloc', $arrUpdData); 273 274 } else {
Note: See TracChangeset
for help on using the changeset viewer.