Commit c6622b71 by Jansa Jose

Merge branch 'jansa'

parents 0f06d711 29eff920
......@@ -2910,6 +2910,7 @@ class Webservice_model extends CI_Model {
$this->db->where('tbl_clinic_doctors.doctor_id',$id);
$this->db->order_by('tbl_clinic.id','ASC');
$query = $this->db->get('tbl_clinic_doctors')->result();
print_r($query);exit();
if(in_array(0, array_column($query, 'id')) || in_array('Default', array_column($query, 'name'))) { //
array_splice($query, 0, 1);
}else{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment