Changed variable name to prevent collision in page menu edit form
authorAlexander Ebert <ebert@woltlab.com>
Thu, 28 Nov 2013 16:39:44 +0000 (17:39 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 28 Nov 2013 16:39:44 +0000 (17:39 +0100)
wcfsetup/install/files/acp/templates/header.tpl

index a6b615fc1dbd9813655e5816f5407c3cfe30844e..3b36c8904aee9f74fa513a72b766df2e1dec94f5 100644 (file)
                                                                <li id="jumpToPage" class="dropdown">
                                                                        <a href="{link forceFrontend=true}{/link}" class="dropdownToggle" data-toggle="jumpToPage"><span class="icon icon16 icon-home"></span> <span>{lang}wcf.global.jumpToPage{/lang}</span></a>
                                                                        <ul class="dropdownMenu">
-                                                                               {foreach from=$__wcf->getPageMenu()->getMenuItems('header') item=menuItem}
-                                                                                       <li><a href="{$menuItem->getProcessor()->getLink()}">{lang}{$menuItem->menuItem}{/lang}</a></li>
+                                                                               {foreach from=$__wcf->getPageMenu()->getMenuItems('header') item=_menuItem}
+                                                                                       <li><a href="{$_menuItem->getProcessor()->getLink()}">{lang}{$_menuItem->menuItem}{/lang}</a></li>
                                                                                {/foreach}
                                                                        </ul>
                                                                </li>