From 46e871216140d7ba0f79e869527d6c2562fb9382 Mon Sep 17 00:00:00 2001 From: Brandon Shipley Date: Sun, 2 Nov 2025 01:20:42 -0700 Subject: [PATCH] extension not getting added properly - should now be solid --- src/Controller/ProductPhotosController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controller/ProductPhotosController.php b/src/Controller/ProductPhotosController.php index deac217..6a3a483 100644 --- a/src/Controller/ProductPhotosController.php +++ b/src/Controller/ProductPhotosController.php @@ -126,7 +126,7 @@ class ProductPhotosController extends AppController throw new ForbiddenException('Failed to create the required folders. Please check the folder permissions and try again.'); } } - $destination = $fullPath . DS . $uuid; + $destination = $fullPath . DS . $uuid . '.' . $ext; // Existing files with the same name will be replaced. $photoObject->moveTo($destination);