diff --git a/Apollo/api/application/models/Studentview_model.php b/Apollo/api/application/models/Studentview_model.php index 34f4fb87..92d9d73c 100755 --- a/Apollo/api/application/models/Studentview_model.php +++ b/Apollo/api/application/models/Studentview_model.php @@ -596,6 +596,7 @@ class Studentview_model extends CI_Model $this->db->join(PICK_LIST_DETAILS.' as PLD2', 'PLD2.ListCode = ASBK.ListCode','LEFT'); $this->db->where('CU.CourseID', $courseID); $this->db->where('CS.StudentID', $studentID); + $this->db->where('PLD.ListName !=','BLANK'); $this->db->where_in('CS.CertificationType', 'MARK CARD'); $this->db->group_by('CS.ID'); $this->db->order_by('CS.ID', 'DESC');