From e272ec67578ba1bc451df5f5c675c1ab3c2a0ab8 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Fri, 24 Jun 2016 15:41:06 +0200 Subject: [PATCH] Small code optimization --- com.woltlab.wcf/templates/pageHeaderMenu.tpl | 2 +- com.woltlab.wcf/templates/pageMenuMobile.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 @@