diff --git a/application/controllers/Items.php b/application/controllers/Items.php index 3ada48bc0..f6098a723 100644 --- a/application/controllers/Items.php +++ b/application/controllers/Items.php @@ -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']))