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) {