Skip to content

Commit

Permalink
Apply php-cs-fixer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mattamon authored and github-actions[bot] committed Dec 13, 2024
1 parent be90baf commit 50e6d2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/Admin/Asset/AssetController.php
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ public function existsAction(Request $request): JsonResponse
$parentAsset = \Pimcore\Model\Asset::getById((int)$request->get('parentId'));

$dir = $request->get('dir', '');
if ($dir){
if ($dir) {
// this is for uploading folders with Drag&Drop
// param "dir" contains the relative path of the file
if (strpos($dir, '..') !== false) {
Expand Down

0 comments on commit 50e6d2b

Please sign in to comment.