From aa4cf527f652a1127b4d72b257492519d55606f4 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Fri, 23 Sep 2022 12:19:33 +0000 Subject: [PATCH] PD_Controller.php edited online with Bitbucket --- api/application/controllers/PD_Controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/application/controllers/PD_Controller.php b/api/application/controllers/PD_Controller.php index e5b8c114..060f0779 100644 --- a/api/application/controllers/PD_Controller.php +++ b/api/application/controllers/PD_Controller.php @@ -9683,7 +9683,7 @@ class PD_Controller extends REST_Controller if(isset($records['random_string'])){ $random_string = $records['random_string']; }else{ - $random_string = $this->PD_Model->selectCustomRecords(array('random_string'),array('pd_id' => $pd_details['pd_id']),PDTRIGGER); + $random_string = $this->PD_Model->selectCustomRecords(array('random_string'),array('pd_id' => $records['pd_id']),PDTRIGGER); $random_string = $random_string[0]['random_string'];} $ZIP = smc_creditpd::covertSMCImgs2ZIP($records['pd_id'],$random_string,array(),0);