Fixed form default values
authorMarcel Werk <burntime@woltlab.com>
Tue, 12 Apr 2016 14:31:54 +0000 (16:31 +0200)
committerMarcel Werk <burntime@woltlab.com>
Tue, 12 Apr 2016 14:31:54 +0000 (16:31 +0200)
wcfsetup/install/files/lib/acp/form/MenuItemAddForm.class.php

index ebaac9b2342207a8d62b219f6ca3c0c89c7b83ac..58254ff6ac9d6508b63d8f37bc3dc0b82cb0494c 100644 (file)
@@ -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;