diff --git a/api/application/models/PD_Model.php b/api/application/models/PD_Model.php index 381c4f34..30f3fcd1 100644 --- a/api/application/models/PD_Model.php +++ b/api/application/models/PD_Model.php @@ -2299,7 +2299,7 @@ class PD_Model extends SPARQ_Model { //Get SMC CityWise Agency function getCityWiseSMCAgency($city){ - $this->db->select('AGENCYLIST.agency_id as entity_id, AGENCYLIST.agency_name as full_name as name,AGENCYLIST.agency_name as full_name, AGENCYLIST.agency_abbr as short_name,AGENCYLIST.fk_city_id,AGENCYLIST.mail_id'); + $this->db->select('AGENCYLIST.agency_id as entity_id, AGENCYLIST.agency_name as name,AGENCYLIST.agency_name as full_name, AGENCYLIST.agency_abbr as short_name,AGENCYLIST.fk_city_id,AGENCYLIST.mail_id'); $this->db->from(AGENCYLIST.' as AGENCYLIST'); $this->db->where('AGENCYLIST.isactive',1); if($city!=""){ @@ -2324,7 +2324,7 @@ class PD_Model extends SPARQ_Model { $this->db->where_in('USERPROFILEROLES.user_role',$role); // if(!empty($entity)){ $this->db->where('USERPROFILE.fk_entity_id',$entity); } $result = $this->db->get()->result_array(); - print_r($this->db->last_query());die(); + // print_r($this->db->last_query());die(); return $result; }