From c9caebca28a2fb63e02e23c04ad6d46c0cf9a8eb Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Tue, 24 Mar 2020 12:58:51 +0200 Subject: [PATCH] fix --- application/Espo/Services/Layout.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/Espo/Services/Layout.php b/application/Espo/Services/Layout.php index 94aff19535..fb5d61413a 100644 --- a/application/Espo/Services/Layout.php +++ b/application/Espo/Services/Layout.php @@ -255,6 +255,8 @@ class Layout extends \Espo\Core\Services\Base $item = clone $item; $item->order = 5 + 0.001 * $i; + if (!isset($item->name)) continue; + $result->{$item->name} = $item; }