From 4c90107610ccceb568eaa5d7361bbd2f08fac004 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Mon, 22 Jan 2018 17:52:36 +0530 Subject: [PATCH] course details changes done --- Apollo/api/application/controllers/StudentView_Controller.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Apollo/api/application/controllers/StudentView_Controller.php b/Apollo/api/application/controllers/StudentView_Controller.php index 687cea79..0f995206 100755 --- a/Apollo/api/application/controllers/StudentView_Controller.php +++ b/Apollo/api/application/controllers/StudentView_Controller.php @@ -44,8 +44,9 @@ class StudentView_Controller extends REST_Controller public function getStudentInfo_post() { $requestedBy = $this->post('requestedBy'); + $requestedFrom = $this->post('requestedFrom'); - $studentListDetails = $this->studentview_model->getStudentInfo($requestedBy);// Check if the employee exist + $studentListDetails = $this->studentview_model->getStudentInfo($requestedBy,$requestedFrom);// Check if the employee exist if ($studentListDetails) { $studentListDetails['status'] = REST_Controller::HTTP_OK; // Set the response and exit