From b14c20c16554ad73d8682f25ac163e6f2bdc3c2e Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 9 Jun 2023 17:39:31 +0000 Subject: [PATCH] continue implementation --- Controller/ApiController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Controller/ApiController.php b/Controller/ApiController.php index 0155639..edd93bd 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -399,6 +399,8 @@ final class ApiController extends Controller $request->header->account ); + var_dump($collection->id); + if ($collection->id === 0) { $response->header->status = RequestStatusCode::R_403; $this->fillJsonResponse($request, $response, NotificationLevel::ERROR, 'Template', 'Couldn\'t create collection for template', null);