mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-20 07:14:33 -04:00
1 parent
9cd2f685ff
commit
e08367aaae
4 files changed
+34
-3
No files matched your search
@@ -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