Skip to content

Commit

Permalink
BUGFIX: #206
Browse files Browse the repository at this point in the history
  • Loading branch information
t3solution committed May 13, 2022
1 parent 94544e9 commit eb20405
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Classes/DataProcessing/ConfigProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -673,11 +673,11 @@ protected function getSubNavigation(array $subNavigation, int $navbarClickablepa
{
$res = [];
foreach ($subNavigation as $supNav ) {
if ($supNav['hasSubpages']) {
if ( is_array($supNav['children'])) {
self::getSubNavigation($supNav['children'], $navbarClickableparent);
}
if ( $navbarClickableparent === 0 ) {
$supNav['link'] = '#';
if ( $navbarClickableparent === 0 ) {
$supNav['link'] = '#';
}
}

$res[] = $supNav;
Expand Down

0 comments on commit eb20405

Please sign in to comment.