Fix item update of tax category.

This commit is contained in:
Steve Ireland
2017-04-15 19:38:32 -04:00
parent 86afbf0d30
commit 422ca99ab3

View File

@@ -395,11 +395,11 @@ class Items extends Secure_Controller
$x = $this->input->post('tax_category_id');
if(!isset($x))
{
$item['tax_category_id'] = '';
$item_data['tax_category_id'] = '';
}
else
{
$item['tax_category_id'] = $this->input->post('selected_tax_category');
$item_data['tax_category_id'] = $this->input->post('tax_category_id');
}
if(!empty($upload_data['orig_name']))