extension not getting added properly - should now be solid
CI / testsuite (mysql, 8.2, ) (push) Has been cancelled Details
CI / testsuite (mysql, 8.4, ) (push) Has been cancelled Details
CI / testsuite (sqlite, 8.2, prefer-lowest) (push) Has been cancelled Details
CI / Coding Standard & Static Analysis (push) Has been cancelled Details

This commit is contained in:
Brandon Shipley 2025-11-02 01:20:42 -07:00
parent 4ffafb781d
commit 46e8712161
Signed by: bmfs
GPG Key ID: 14E38571D8BB0DE4
1 changed files with 1 additions and 1 deletions

View File

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