Merge branch 'master' into next
authorMatthias Schmidt <gravatronics@live.com>
Sun, 28 Jul 2019 13:22:44 +0000 (15:22 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 28 Jul 2019 13:22:44 +0000 (15:22 +0200)
1  2 
wcfsetup/install/files/lib/acp/form/PageAddForm.class.php

index ce2b54da9d40d1e6137716837b68976a0960c18a,6c09ebce63c21b5e54bc5b991367e040ff40af75..d970bd2e5d8d402a22602d690bbfbedd98030b55
@@@ -639,7 -586,8 +639,8 @@@ class PageAddForm extends AbstractForm 
                WCF::getTPL()->assign('success', true);
                
                // reset variables
-               $this->parentPageID = $this->isDisabled = $this->isLandingPage = $this->availableDuringOfflineMode = $this->enableShareButtons = 0;
 -              $this->parentPageID = $this->isDisabled = $this->isLandingPage = $this->availableDuringOfflineMode = $this->addPageToMainMenu = 0;
++              $this->parentPageID = $this->isDisabled = $this->isLandingPage = $this->availableDuringOfflineMode = $this->enableShareButtons = $this->addPageToMainMenu = 0;
+               $this->parentMenuItemID = null;
                $this->applicationPackageID = 1;
                $this->cssClassName = $this->name = '';
                $this->customURL = $this->title = $this->content = $this->metaDescription = $this->metaKeywords = $this->aclValues = [];