Merge branch 'master' of bitbucket.org:venbaittech/sparqapi

This commit is contained in:
VE10-Sanjeev 2022-09-24 18:00:34 +05:30
commit 943429e28d

View File

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