From 5db887937bd4707320b9d30efba91ef3984e4094 Mon Sep 17 00:00:00 2001 From: Thomas Skerbis Date: Sun, 10 Dec 2023 21:54:52 +0100 Subject: [PATCH] missing catId-Fix --- lib/navarray.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/navarray.php b/lib/navarray.php index 2f84be4..db3570f 100644 --- a/lib/navarray.php +++ b/lib/navarray.php @@ -131,6 +131,8 @@ private function processCategory($cat, $currentCatpath, $currentCat_id): array return []; } + $catId = $cat->getId(); + $children = $listlevel <= $this->depth && $cat->getChildren($this->ignoreOfflines) ? ['child' => $this->generateSubcategories($cat)] : ['child' => []];