@@ -1074,7 +1074,7 @@ CASE when tbl_registration.gender='0' then 'MALE' when tbl_registration.gender='
...
@@ -1074,7 +1074,7 @@ CASE when tbl_registration.gender='0' then 'MALE' when tbl_registration.gender='
functionget_doctor_profile($doctorid){
functionget_doctor_profile($doctorid){
$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,tbl_clinic.street_address as location_name,tbl_clinic.location_lattitude,tbl_clinic.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,tbl_clinic.street_address as location_name,tbl_clinic.location_lattitude,tbl_clinic.location_longitude,COUNT(DISTINCT(tbl_review.review_id)) as reviewcount,GROUP_CONCAT(DISTINCT(tbl_doctors_photos.photo_url) SEPARATOR ',') as photos");