From 87121e8e6cf9ec76b1f5c8ad87ab76ec42d94352 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Tue, 13 Mar 2018 17:15:00 +0530 Subject: [PATCH] course details changes done --- Apollo/api/application/models/Course_model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Apollo/api/application/models/Course_model.php b/Apollo/api/application/models/Course_model.php index f9cc83a0..3b91345a 100755 --- a/Apollo/api/application/models/Course_model.php +++ b/Apollo/api/application/models/Course_model.php @@ -22,7 +22,7 @@ class Course_model extends CI_Model { $this->db->where('UniversityID', $arrayDetails['UniversityID']); if($this->db->get(COURSE)->first_row()){ $result['courseStatus'] = false; - $result['message'] = "This course id is already exist in same university!"; + $result['message'] = "This course id is already exist in same university"; } else { $this->db->insert(COURSE, $arrayDetails); if ($this->db->affected_rows() == '1') { @@ -136,7 +136,7 @@ class Course_model extends CI_Model { $this->db->where('CourseID !=', $arrayDetails['CourseID']); if($this->db->get(COURSE)->first_row()){ $result['courseStatus'] = false; - $result['message'] = "This course id is already exist!"; + $result['message'] = "This course id is already exist in same university"; } else{ $this->db->where('CourseID',$arrayDetails['CourseID']);