diff --git a/api/application/controllers/Sales_PD_Controller.php b/api/application/controllers/Sales_PD_Controller.php index 91ada168..c6e64c9c 100644 --- a/api/application/controllers/Sales_PD_Controller.php +++ b/api/application/controllers/Sales_PD_Controller.php @@ -2130,7 +2130,7 @@ public function filterSalesPDList_post() { $bucketName = LENDER_BUCKET_NAME_PREFIX . $pdLenId; $key = 'sales_pd/'.$sales_pd_id; $allFiles = $this->aws_s3->getAllObjectsInaBucket($bucketName, $key); - log_message('ERROR', '#### Sales PD '.count($allFiles).' S3 Files Deleted For this '.$sales_pd_id); + log_message('ERROR', '#### Sales PD '.count(array($allFiles)).' S3 Files Deleted For this '.$sales_pd_id); $this->aws_s3->deleteMatchingObjects($bucketName, $key); } }