From 0000fb3162b31f5fde14f8d0537d00f68e21eef4 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Wed, 22 Nov 2017 14:47:04 +0530 Subject: [PATCH] changes in call tracking model --- Apollo/api/application/models/Calltracking_model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Apollo/api/application/models/Calltracking_model.php b/Apollo/api/application/models/Calltracking_model.php index d1f16b06..13bca699 100644 --- a/Apollo/api/application/models/Calltracking_model.php +++ b/Apollo/api/application/models/Calltracking_model.php @@ -136,7 +136,7 @@ class Calltracking_model extends CI_Model { $this->db->select('LO.ID,ST.StaffID,ST.Firstname'); $this->db->from(LOGIN.' as LO'); $this->db->join(STAFF.' as ST', 'ST.StaffID = LO.StaffID'); - $this->db->where('LO.IsActive',$status); + $this->db->where('ST.IsActive',$status); $staffDetails=$this->db->get(); if($staffDetails){ $result_staff = array();