Commit 14ea7b6a by Jansa Jose

web pat

parent e6fc09c1
......@@ -592,7 +592,7 @@
$key = $this->config->item('encryption_key');
$this->db->query("Update tbl_doctors SET dob = AES_ENCRYPT(".$data['dob'].",".$key.") where id=".$insertid);
$this->db->query("Update tbl_doctors SET dob = AES_ENCRYPT('".$data['dob']."','$key') where id=".$insertid);
$this->db->insert('tbl_clinic_doctors',array('doctor_id'=>$insertid,'clinic_id'=> 0));
$this->db->insert('tbl_consultation',array('doctor_id'=>$insertid,'clinic_id'=> 0,'date'=>'""','date_secondary'=>'""','active_schedule'=> 0));
......
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