From a9ac6e5a507d6fac8d7d2e6df6c6cbdde991e00f Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Thu, 1 Feb 2018 17:11:33 +0530 Subject: [PATCH] course details changes done --- Apollo/api/application/controllers/Course_Controller.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Apollo/api/application/controllers/Course_Controller.php b/Apollo/api/application/controllers/Course_Controller.php index cbd8470e..1648d776 100755 --- a/Apollo/api/application/controllers/Course_Controller.php +++ b/Apollo/api/application/controllers/Course_Controller.php @@ -33,7 +33,7 @@ class Course_Controller extends REST_Controller { { $now = new DateTime(); $now->setTimezone(new DateTimezone('Asia/Kolkata')); - $details['CourseID'] = $this->post('courseID'); + $details['CourseCode'] = $this->post('courseCode'); $details['CourseName'] = $this->post('courseName'); $details['UniversityID'] = $this->post('universityName'); $details['Specilization1'] = $this->post('specilization1'); @@ -131,7 +131,8 @@ class Course_Controller extends REST_Controller { { $now = new DateTime(); $now->setTimezone(new DateTimezone('Asia/Kolkata')); - $details['CourseID'] = $this->post('courseCode'); + $details['CourseID'] = $this->post('courseID'); + $details['CourseCode'] = $this->post('courseCode'); $details['CourseName'] = $this->post('courseName'); $details['Specilization1'] = $this->post('specilization1'); $details['Specilization2'] = $this->post('specilization2');