Commit b27abe92 by Jansa Jose

Merge branch 'jansa'

parents b5ad41dc 92ee2d01
......@@ -1158,7 +1158,6 @@ class Webservice_model extends CI_Model {
}
}
}else{
//echo"n";
foreach ($querys as $keys => $values) {
$consult = $this->db->get_where('tbl_consultation',array('clinic_id'=>$values['clinic_id'],'doctor_id'=>$values['doctor_id']))->row();
......@@ -1166,6 +1165,7 @@ class Webservice_model extends CI_Model {
if($consult->date != '""'){
$consult_date = json_decode($consult->date);
foreach ($consult_date as $consult_key => $consult_value) {
$new_array_day = array();
$new_array_day[] = $consult_value->day;
}
if(!in_array($day, $new_array_day)){
......
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