Flyhi_Controller.php edited online with Bitbucket
This commit is contained in:
parent
eadc2d0cb9
commit
49469018b7
@ -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)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user