From 21f06062601c6f92c833fa6dababd94265b98a07 Mon Sep 17 00:00:00 2001 From: VE10-Sanjeev Date: Fri, 19 May 2023 12:54:06 +0530 Subject: [PATCH] fixes : ps --- api/application/controllers/Sales_PD_Controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }