Flyhi_Controller.php edited online with Bitbucket

This commit is contained in:
gandhimathi 2022-08-26 06:31:51 +00:00
parent eadc2d0cb9
commit 49469018b7

View File

@ -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)
{