Skip to content

Commit

Permalink
missing catId-Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
skerbis authored Dec 10, 2023
1 parent 2f0af1a commit 5db8879
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/navarray.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' => []];
Expand Down

0 comments on commit 5db8879

Please sign in to comment.