From 8a4a0f6bdc91f6ef4495071020c0af6affd27d7d Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Tue, 6 Jul 2021 16:14:19 +0300 Subject: [PATCH] fix --- application/Espo/Controllers/Kanban.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/Espo/Controllers/Kanban.php b/application/Espo/Controllers/Kanban.php index bd32135d1d..d11e64650d 100644 --- a/application/Espo/Controllers/Kanban.php +++ b/application/Espo/Controllers/Kanban.php @@ -70,9 +70,9 @@ class Kanban { $data = $request->getParsedBody(); - $entityType = $data->entityType; - $group = $data->group; - $ids = $data->ids; + $entityType = $data->entityType ?? null; + $group = $data->group ?? null; + $ids = $data->ids ?? null; if (empty($entityType) || !is_string($entityType)) { throw new BadRequest();