mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-24 08:20:54 -04:00
Sanity checked SQL insert and update, minor fixes (#598)
This commit is contained in:
@@ -692,7 +692,8 @@ class Items extends Secure_area implements iData_controller
|
||||
'trans_location'=>$location_id,
|
||||
'trans_inventory'=>0
|
||||
);
|
||||
$this->db->insert('inventory',$excel_data);
|
||||
|
||||
$this->Inventory->insert($excel_data);
|
||||
}
|
||||
}
|
||||
else //insert or update item failure
|
||||
|
||||
Reference in New Issue
Block a user