From ec74c21695789ba226be43364cc96687bd0cb833 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Tue, 8 Jul 2014 18:39:52 +0200 Subject: [PATCH] Do not show menu item controller if page is selected --- .../install/files/lib/acp/form/PageMenuItemAddForm.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.20.1