From 401e09f0b56505d3e2569ab6c00e77e80e1b4aed Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 4 Jul 2021 18:27:21 +0200 Subject: [PATCH] formatting fixes, bug fixes and support impl. --- Controller/ApiController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controller/ApiController.php b/Controller/ApiController.php index 4d5e153..99e2e49 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -246,7 +246,7 @@ final class ApiController extends Controller $old = clone $unit; $uploaded = $this->app->moduleManager->get('Media')->uploadFiles( - $request->getData('name') ?? '', + [$request->getData('name') ?? ''], $uploadedFiles, $request->header->account, __DIR__ . '/../../../Modules/Media/Files',