diff --git a/application/controllers/Config.php b/application/controllers/Config.php index c1f00367e..8a2343c48 100644 --- a/application/controllers/Config.php +++ b/application/controllers/Config.php @@ -289,7 +289,6 @@ class Config extends Secure_Controller 'theme' => $this->input->post('theme'), 'default_sales_discount' => $this->input->post('default_sales_discount'), 'receiving_calculate_average_price' => $this->input->post('receiving_calculate_average_price') != NULL, - 'allow_duplicate_barcodes' => $this->input->post('allow_duplicate_barcodes') != NULL, 'lines_per_page' => $this->input->post('lines_per_page'), 'notify_horizontal_position' => $this->input->post('notify_horizontal_position'), 'notify_vertical_position' => $this->input->post('notify_vertical_position'), @@ -792,6 +791,7 @@ class Config extends Secure_Controller 'barcode_page_width' => $this->input->post('barcode_page_width'), 'barcode_page_cellspacing' => $this->input->post('barcode_page_cellspacing'), 'barcode_generate_if_empty' => $this->input->post('barcode_generate_if_empty') != NULL, + 'allow_duplicate_barcodes' => $this->input->post('allow_duplicate_barcodes') != NULL, 'barcode_content' => $this->input->post('barcode_content'), 'barcode_formats' => json_encode($this->input->post('barcode_formats')) );