Skip to content

Commit

Permalink
bug #2 has-sub muss zur li nicht zur ul, mit Berücksichtigung von lev…
Browse files Browse the repository at this point in the history
…elCount
  • Loading branch information
alexwenz committed Nov 30, 2015
1 parent 4b49dfb commit c395290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/class.rex_nav.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ protected function _getNavigation($categoryId) {
}

// showHasSubClass
if(sizeof($cat->getChildren()) != 0 && ($depth < $this->levelCount - 1)) {
if(sizeof($cat->getChildren(true)) != 0 && ($depth < $this->levelCount - 1)) {
$cssClasses .= ' ' . $this->hasSubClass;
}

Expand Down

0 comments on commit c395290

Please sign in to comment.