From c0d607eac0d047140fc6b0e30f660bc394df18e6 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Mon, 29 Jan 2018 19:37:48 +0530 Subject: [PATCH] course details changes done --- Apollo/api/application/models/StatusUpdation_model.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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){