diff --git a/application/libraries/Ilch/Layout/Helper/Menu/Mapper.php b/application/libraries/Ilch/Layout/Helper/Menu/Mapper.php index 7be8fcd5d..72edc048b 100644 --- a/application/libraries/Ilch/Layout/Helper/Menu/Mapper.php +++ b/application/libraries/Ilch/Layout/Helper/Menu/Mapper.php @@ -1,6 +1,6 @@ execute() ->fetchAssoc(); - $menu->setId($menuRow['id']); - $menu->setTitle($menuRow['title']); + if (!empty($menuRow)) { + $menu->setId($menuRow['id']); + $menu->setTitle($menuRow['title']); + } return $menu; }