From aab6f1e22240545c986256f6740c2825c102b577 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Thu, 28 Dec 2017 15:45:30 +0530 Subject: [PATCH] course details changes done --- Apollo/api/application/controllers/Branch_Controller.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Apollo/api/application/controllers/Branch_Controller.php b/Apollo/api/application/controllers/Branch_Controller.php index 60c6758f..7fab735b 100755 --- a/Apollo/api/application/controllers/Branch_Controller.php +++ b/Apollo/api/application/controllers/Branch_Controller.php @@ -59,7 +59,7 @@ class Branch_Controller extends REST_Controller { $details['Address'] = $this->post('address'); $details['EmailID'] = $this->post('email'); $details['CreatedBy'] = $this->post('createdBy'); - $details['IsActive'] = $this->post('status') == true ? 1 : 0; + $details['IsActive'] = $this->post('status'); $imageStat = $this->post('imageStatus'); @@ -125,7 +125,7 @@ class Branch_Controller extends REST_Controller { $details['LandlineNumber'] = $this->post('landLine'); $details['Address'] = $this->post('address'); $details['EmailID'] = $this->post('email'); - $details['IsActive'] = $this->post('status') == true ? 1 : 0; + $details['IsActive'] = $this->post('status'); $details['UpdatedBy'] = $this->post('createdBy'); $date = date('Y-m-d H:i:s'); $details['UpdatedOn'] = $date;