From 49aff5c482095483c115f221420b352b12359ea0 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 5f7b34a..004c6eb 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -178,7 +178,7 @@ final class ApiController extends Controller $old = clone $profile; $uploaded = $this->app->moduleManager->get('Media')->uploadFiles( - $request->getData('name') ?? '', + [$request->getData('name') ?? ''], $uploadedFiles, $request->header->account, __DIR__ . '/../../../Modules/Media/Files/Accounts/' . $profile->account->getId() . ' ' . $profile->account->login,