From 50e6d2b3be78fe2b0c56515e854d6e0f4e13ae8b Mon Sep 17 00:00:00 2001 From: mattamon Date: Fri, 13 Dec 2024 07:25:32 +0000 Subject: [PATCH] Apply php-cs-fixer changes --- src/Controller/Admin/Asset/AssetController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controller/Admin/Asset/AssetController.php b/src/Controller/Admin/Asset/AssetController.php index 29ad5e91f..ac0fc8244 100644 --- a/src/Controller/Admin/Asset/AssetController.php +++ b/src/Controller/Admin/Asset/AssetController.php @@ -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) {