From: Matthias Schmidt Date: Tue, 8 Jul 2014 16:39:52 +0000 (+0200) Subject: Do not show menu item controller if page is selected X-Git-Tag: 2.1.0_Alpha_1~602^2~7 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ec74c21695789ba226be43364cc96687bd0cb833;p=GitHub%2FWoltLab%2FWCF.git Do not show menu item controller if page is selected --- diff --git a/wcfsetup/install/files/lib/acp/form/PageMenuItemAddForm.class.php b/wcfsetup/install/files/lib/acp/form/PageMenuItemAddForm.class.php index f25d35c0d2..7672d86865 100644 --- a/wcfsetup/install/files/lib/acp/form/PageMenuItemAddForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/PageMenuItemAddForm.class.php @@ -300,7 +300,7 @@ class PageMenuItemAddForm extends AbstractForm { 'availableParentMenuItems' => $this->availableParentMenuItems, 'isDisabled' => $this->isDisabled, 'isInternalLink' => $this->isInternalLink, - 'menuItemController' => $this->menuItemController, + 'menuItemController' => $this->menuItemPage ? '' : $this->menuItemController, 'menuItemParameters' => $this->menuItemParameters, 'menuItemLink' => $this->menuItemLink, 'menuItemPage' => $this->menuItemPage,