Commit 9bba2a80 by Jansa Jose

change mdcl record

parent a7b4b311
......@@ -3045,9 +3045,9 @@ class Webservice_model extends CI_Model {
//echo"<pre>";print_r($query);echo"</pre>";exit();
if(count($query) > 0){
$return_array = array('status'=>'success','data'=>array('patient_id'=>$pat_details->id,'patient_name'=>$pat_details->name,'patient_profile_photo'=>$pat_details->profile_photo,'patient_age'=>$diff),'medical'=>$new);
$return_array = array('status'=>'success','data'=>array('patient_id'=>$pat_details->id,'patient_name'=>decrypt_data($pat_details->name),'patient_profile_photo'=>$pat_details->profile_photo,'patient_age'=>$diff),'medical'=>$new);
}else{
$return_array = array('status'=>'error','data'=>array('patient_id'=>$pat_details->id,'patient_name'=>$pat_details->name,'patient_profile_photo'=>$pat_details->profile_photo,'patient_age'=>$diff,'medical'=>[]),'medical'=>[]);
$return_array = array('status'=>'error','data'=>array('patient_id'=>$pat_details->id,'patient_name'=>decrypt_data($pat_details->name),'patient_profile_photo'=>$pat_details->profile_photo,'patient_age'=>$diff,'medical'=>[]),'medical'=>[]);
}
return $return_array;
}
......
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