From: Alexander Ebert Date: Thu, 28 Jul 2016 09:33:17 +0000 (+0200) Subject: Guard against broken menu items X-Git-Tag: 3.0.0_Beta_1~948 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3782530d4f2211de3aec2f0c2595c15d7b482d6a;p=GitHub%2FWoltLab%2FWCF.git Guard against broken menu items --- diff --git a/wcfsetup/install/files/acp/templates/footer.tpl b/wcfsetup/install/files/acp/templates/footer.tpl index 7f26bf3a1d..443ef8bfe1 100644 --- a/wcfsetup/install/files/acp/templates/footer.tpl +++ b/wcfsetup/install/files/acp/templates/footer.tpl @@ -6,7 +6,7 @@ {include file='pageFooter'} -{if PACKAGE_ID}{include file='pageMenuMobile'}{/if} +{include file='pageMenuMobile'} {event name='footer'} diff --git a/wcfsetup/install/files/acp/templates/pageMenuMobile.tpl b/wcfsetup/install/files/acp/templates/pageMenuMobile.tpl index 9232702b72..70b7bda7ef 100644 --- a/wcfsetup/install/files/acp/templates/pageMenuMobile.tpl +++ b/wcfsetup/install/files/acp/templates/pageMenuMobile.tpl @@ -1,80 +1,82 @@ -{* main menu *} - +{/if}