From 49469018b7958c1194af390fa61f2509119c4721 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Fri, 26 Aug 2022 06:31:51 +0000 Subject: [PATCH] Flyhi_Controller.php edited online with Bitbucket --- api/application/controllers/Flyhi_Controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/application/controllers/Flyhi_Controller.php b/api/application/controllers/Flyhi_Controller.php index 367caf40..a499447d 100644 --- a/api/application/controllers/Flyhi_Controller.php +++ b/api/application/controllers/Flyhi_Controller.php @@ -1180,7 +1180,7 @@ class Flyhi_Controller extends REST_Controller { $update_fields2 = array('isactive' => 0); $this->Flyhi_Model->updateRecords($update_fields2,SALEPD_DOCS,array('doc_id'=>$records['img_id'])); } - + unset($records['img_id']); $id = $this->Flyhi_Model->saveRecords($records,SALEPD_DOCS); if($id) {