From d2f5bdbb87a88347d17aed32233efb59b06bd538 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Tue, 15 May 2018 11:15:42 +0530 Subject: [PATCH] course model changes --- Apollo/api/application/models/Course_model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Apollo/api/application/models/Course_model.php b/Apollo/api/application/models/Course_model.php index 178bd819..fb8b796c 100755 --- a/Apollo/api/application/models/Course_model.php +++ b/Apollo/api/application/models/Course_model.php @@ -52,7 +52,7 @@ class Course_model extends CI_Model { } else{ $this -> db -> where('CourseCode', $arrayDetails['CourseCode']); - $this -> db -> delete('COURSE'); + $this -> db -> delete(COURSE); $result['courseStatus'] = false; $result['message'] = "Something went wrong.please try again"; }