@@ -1074,7 +1074,7 @@ CASE when tbl_registration.gender='0' then 'MALE' when tbl_registration.gender='
functionget_doctor_profile($data){
$this->db->select("tbl_doctors.*,CASE when tbl_doctors.gender='0' then 'MALE' when tbl_doctors.gender='1' then 'FEMALE' else 'OTHERS' end as pt_gender,tbl_specialization.specialization_name,tbl_specialization.sub_name,case when tbl_clinic_doctors.clinic_id != '0' then tbl_clinic.street_address else tbl_doctors.street_address end as location_name,case when tbl_clinic_doctors.clinic_id != '0' then tbl_clinic.location_lattitude else tbl_doctors.default_latitude end as location_lattitude,case when tbl_clinic_doctors.clinic_id != '0' then tbl_clinic.location_longitude else tbl_doctors.default_longitude end as location_longitude,COUNT(DISTINCT(tbl_review.review_id)) as reviewcount,GROUP_CONCAT(DISTINCT(tbl_doctors_photos.photo_url) SEPARATOR ',') as photos");
$this->db->select("tbl_doctors.*,CASE when tbl_doctors.gender='0' then 'MALE' when tbl_doctors.gender='1' then 'FEMALE' else 'OTHERS' end as pt_gender,tbl_specialization.specialization_name,tbl_specialization.sub_name,case when tbl_clinic_doctors.clinic_id != '0' then tbl_clinic.street_address else tbl_doctors.street_address end as location_name,case when tbl_clinic_doctors.clinic_id != '0' then tbl_clinic.locality else tbl_doctors.locality end as location_locality,case when tbl_clinic_doctors.clinic_id != '0' then tbl_clinic.number else tbl_doctors.number end as location_number,case when tbl_clinic_doctors.clinic_id != '0' then tbl_clinic.location_lattitude else tbl_doctors.default_latitude end as location_lattitude,case when tbl_clinic_doctors.clinic_id != '0' then tbl_clinic.location_longitude else tbl_doctors.default_longitude end as location_longitude,COUNT(DISTINCT(tbl_review.review_id)) as reviewcount,GROUP_CONCAT(DISTINCT(tbl_doctors_photos.photo_url) SEPARATOR ',') as photos");