mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-14 18:53:56 -04:00
Sanity checked SQL insert and update, minor fixes (#598)
This commit is contained in:
@@ -161,7 +161,9 @@ class Config extends Secure_area
|
||||
$this->Stock_location->delete($location_id);
|
||||
}
|
||||
|
||||
$success = $this->db->trans_complete();
|
||||
$this->db->trans_complete();
|
||||
|
||||
$success = $this->db->trans_status();
|
||||
|
||||
echo json_encode(array('success'=>$success, 'message'=>$this->lang->line('config_saved_' . ($success ? '' : 'un') . 'successfully')));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user