From: Marcel Werk Date: Wed, 29 Feb 2012 18:34:07 +0000 (+0100) Subject: Fixed sub menu items X-Git-Tag: 2.0.0_Beta_1~1295 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c86818a086dc881d3ccd2746bdeb3786dce0b9f5;p=GitHub%2FWoltLab%2FWCF.git Fixed sub menu items --- diff --git a/com.woltlab.wcf/template/mainMenuSubMenu.tpl b/com.woltlab.wcf/template/mainMenuSubMenu.tpl index cfc498d69b..cbe4a4234a 100644 --- a/com.woltlab.wcf/template/mainMenuSubMenu.tpl +++ b/com.woltlab.wcf/template/mainMenuSubMenu.tpl @@ -1,5 +1,5 @@ {foreach from=$__wcf->getPageMenu()->getMenuItems('header') item=menuItem} - {if $__wcf->getPageMenu()->getMenuItems($menuItem->menuItem)|count > 0} + {if $__wcf->getPageMenu()->getMenuItems($menuItem->menuItem)|count > 0 && $__wcf->getPageMenu()->getActiveMenuItem() == $menuItem->menuItem}