diff --git a/library/Zend/View/Helper/Navigation/Menu.php b/library/Zend/View/Helper/Navigation/Menu.php index d1623def388..c88e25b2c34 100644 --- a/library/Zend/View/Helper/Navigation/Menu.php +++ b/library/Zend/View/Helper/Navigation/Menu.php @@ -133,7 +133,7 @@ protected function renderDeepestMenu( $maxDepth, $escapeLabels, $addClassToListItem, - $liActiveClass + $liActiveClass = null ) { if (!$active = $this->findActive($container, $minDepth - 1, $maxDepth)) { return ''; @@ -164,7 +164,7 @@ protected function renderDeepestMenu( $liClasses = array(); // Is page active? if ($subPage->isActive(true)) { - $liClasses[] = $liActiveClass; + $liClasses[] = $liActiveClass ?: $this->getLiActiveClass(); } // Add CSS class from page to