Corrected errors

This commit is contained in:
objecttothis
2020-05-04 17:18:48 +04:00
parent 15a987cfd9
commit 0051fa87ec

View File

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