Links to frontend were missing the object data
authorAlexander Ebert <ebert@woltlab.com>
Fri, 28 Oct 2016 10:55:08 +0000 (12:55 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 28 Oct 2016 10:55:08 +0000 (12:55 +0200)
wcfsetup/install/files/acp/templates/pageHeaderUser.tpl

index 24d29d66530719c11bdeb70b5d715a5396be9ad0..e837c963416023e8d0af7fe681231ee35ef8c7af 100644 (file)
@@ -21,7 +21,7 @@
                                        <ul class="dropdownMenu" data-dropdown-alignment-horizontal="right">
                                                {foreach from=$__wcf->getFrontendMenu()->getMenuItemNodeList() item=_menuItem}
                                                        {if !$_menuItem->parentItemID && $_menuItem->getPage()}
-                                                               <li><a href="{$_menuItem->getPage()->getLink()}">{lang}{$_menuItem->title}{/lang}</a></li>
+                                                               <li><a href="{$_menuItem->getURL()}">{lang}{$_menuItem->title}{/lang}</a></li>
                                                        {/if}
                                                {/foreach}
                                        </ul>