From 89a5e829d2cfe11f9247dfc958b47e0e1ea1beee Mon Sep 17 00:00:00 2001 From: VE10-Sanjeev Date: Mon, 20 Feb 2023 18:30:08 +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 163413c6..90ead237 100644 --- a/api/application/controllers/Sales_PD_Controller.php +++ b/api/application/controllers/Sales_PD_Controller.php @@ -300,7 +300,7 @@ class Sales_PD_Controller extends REST_Controller { if($api) { ## NEW KEY BECAUSE TITLE-RENAME - $_uri = $this->aws_s3->getSingleObjectInaBucketAsSignedURI($bucket_name,$key,'30 minutes'); + $_uri = $this->aws_s3->getSingleObjectInaBucketAsSignedURI($bucket_name,$bucketkey,'30 minutes'); $headers = @get_headers($_uri); if($headers && strpos( $headers[0], '200')) { $singed_uri = $_uri;