From 0051fa87eca9bd45cd04ab33598eb08796ceabc6 Mon Sep 17 00:00:00 2001 From: objecttothis Date: Mon, 4 May 2020 17:18:48 +0400 Subject: [PATCH] Corrected errors --- application/models/Attribute.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/models/Attribute.php b/application/models/Attribute.php index 8b48a6a35..f31d6092f 100644 --- a/application/models/Attribute.php +++ b/application/models/Attribute.php @@ -139,7 +139,7 @@ class Attribute extends CI_Model $this->db->where('sale_id'); $this->db->where('deleted', 0); $this->db->order_by('definition_name','ASC'); - + $results = $this->db->get()->result_array(); return $this->_to_array($results, 'definition_id'); @@ -331,7 +331,7 @@ class Attribute extends CI_Model $this->db->trans_complete(); } } - + //To DROPDOWN or CHECKBOX else if($to_type === DROPDOWN) {