From 01a6e5224fce23a588628395b7fce41cb3b28100 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Tue, 12 Apr 2016 16:31:54 +0200 Subject: [PATCH] Fixed form default values --- wcfsetup/install/files/lib/acp/form/MenuItemAddForm.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/acp/form/MenuItemAddForm.class.php b/wcfsetup/install/files/lib/acp/form/MenuItemAddForm.class.php index ebaac9b234..58254ff6ac 100644 --- a/wcfsetup/install/files/lib/acp/form/MenuItemAddForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/MenuItemAddForm.class.php @@ -263,7 +263,8 @@ class MenuItemAddForm extends AbstractForm { WCF::getTPL()->assign('success', true); // reset variables - $this->isDisabled = $this->isInternalLink = false; + $this->isInternalLink = true; + $this->isDisabled = false; $this->pageID = $this->pageObjectID = $this->parentItemID = null; $this->externalURL = $this->title = ''; $this->showOrder = 0; -- 2.20.1