From 75e8cf538aab2208d584fa88d542932ddd403c30 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Fri, 21 Jan 2022 16:53:25 +0200 Subject: [PATCH] fix kanbanStatusIgnoreList --- application/Espo/Tools/EntityManager/EntityManager.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/application/Espo/Tools/EntityManager/EntityManager.php b/application/Espo/Tools/EntityManager/EntityManager.php index c647839dc2..ec50138662 100644 --- a/application/Espo/Tools/EntityManager/EntityManager.php +++ b/application/Espo/Tools/EntityManager/EntityManager.php @@ -627,6 +627,10 @@ class EntityManager if (array_key_exists('kanbanStatusIgnoreList', $data)) { $scopeData['kanbanStatusIgnoreList'] = $data['kanbanStatusIgnoreList']; + if (empty($scopeData['kanbanStatusIgnoreList'])) { + $scopeData['kanbanStatusIgnoreList'] = null; + } + $this->metadata->set('scopes', $name, $scopeData); }