From 8d43cd99a066a2273282767f5508a3bbaf28a0aa Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 16 Jul 2019 18:40:44 +0200 Subject: [PATCH] fix #2895 @0:10 --- src/app/Magic/Menu/Item.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/Magic/Menu/Item.php b/src/app/Magic/Menu/Item.php index 1b78c22..1b72f05 100644 --- a/src/app/Magic/Menu/Item.php +++ b/src/app/Magic/Menu/Item.php @@ -81,6 +81,9 @@ class Item if ($item->parent_id != $filter) { continue; } + if (!$item->status) { + continue; + } $this->addChildFromData($item, $data); } } -- 2.39.5