diff --git a/Apollo/api/application/models/StatusUpdation_model.php b/Apollo/api/application/models/StatusUpdation_model.php index ca3ed5df..c943375f 100755 --- a/Apollo/api/application/models/StatusUpdation_model.php +++ b/Apollo/api/application/models/StatusUpdation_model.php @@ -505,8 +505,8 @@ class StatusUpdation_model extends CI_Model // get student details $this->db->select('PLD.ListCode'); $this->db->from(PICK_LIST_DETAILS.' as PLD'); - $this->db->like('PLD.ListName','ISSUED'); - $this->db->like('PLD.ListCode',$fromDetails[0]['ListCode']); + $this->db->where('PLD.ListName','ISSUED'); + $this->db->where('PLD.ListCode',$fromDetails[0]['ListCode']); $this->db->where('PLD.IsActive','1'); $checkStatus=$this->db->get()->last_row(); if($checkStatus){ @@ -669,8 +669,8 @@ class StatusUpdation_model extends CI_Model // get student details $this->db->select('PLD.ListCode'); $this->db->from(PICK_LIST_DETAILS.' as PLD'); - $this->db->like('PLD.ListName','PENDING'); - $this->db->like('PLD.ListCode',$fromDetails[0]['ListCode']); + $this->db->where('PLD.ListName','PENDING'); + $this->db->where('PLD.ListCode',$fromDetails[0]['ListCode']); $this->db->where('PLD.IsActive','1'); $checkStatus=$this->db->get()->last_row(); if($checkStatus){