From: Marcel Werk Date: Tue, 12 Apr 2016 14:31:54 +0000 (+0200) Subject: Fixed form default values X-Git-Tag: 3.0.0_Beta_1~1921 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=01a6e5224fce23a588628395b7fce41cb3b28100;p=GitHub%2FWoltLab%2FWCF.git Fixed form default values --- 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;