From: Marcel Werk Date: Fri, 24 Jun 2016 13:41:06 +0000 (+0200) Subject: Small code optimization X-Git-Tag: 3.0.0_Beta_1~1356^2~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e272ec67578ba1bc451df5f5c675c1ab3c2a0ab8;p=GitHub%2FWoltLab%2FWCF.git Small code optimization --- diff --git a/com.woltlab.wcf/templates/pageHeaderMenu.tpl b/com.woltlab.wcf/templates/pageHeaderMenu.tpl index 70d461e64a..bb79215d96 100644 --- a/com.woltlab.wcf/templates/pageHeaderMenu.tpl +++ b/com.woltlab.wcf/templates/pageHeaderMenu.tpl @@ -1 +1 @@ -{@$__wcf->getBoxHandler()->getBoxes('mainMenu')[0]->render()} +{@$__wcf->getBoxHandler()->getBoxByIdentifier('com.woltlab.wcf.MainMenu')->render()} diff --git a/com.woltlab.wcf/templates/pageMenuMobile.tpl b/com.woltlab.wcf/templates/pageMenuMobile.tpl index 9af591928e..204fcdb1f4 100644 --- a/com.woltlab.wcf/templates/pageMenuMobile.tpl +++ b/com.woltlab.wcf/templates/pageMenuMobile.tpl @@ -8,7 +8,7 @@