mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-03-31 13:24:25 -04:00
@@ -635,10 +635,10 @@ class Items extends Secure_Controller
|
||||
$item_data['reorder_level'] = 0;
|
||||
}
|
||||
|
||||
$tax_category_id = intval($this->request->getPost('tax_category_id'));
|
||||
$tax_category_id = $this->request->getPost('tax_category_id');
|
||||
|
||||
if (!isset($tax_category_id)) {
|
||||
$item_data['tax_category_id'] = '';
|
||||
$item_data['tax_category_id'] = null;
|
||||
} else {
|
||||
$item_data['tax_category_id'] = empty($this->request->getPost('tax_category_id')) ? null : intval($this->request->getPost('tax_category_id'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user