From: Marcel Werk Date: Sun, 26 Nov 2017 15:55:26 +0000 (+0100) Subject: Fixed broken default value in page edit form X-Git-Tag: 3.1.0_Beta_4~53 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5baaa84ad638a5a9b63b4d5887395196ba7ad466;p=GitHub%2FWoltLab%2FWCF.git Fixed broken default value in page edit form --- diff --git a/wcfsetup/install/files/lib/acp/form/PageEditForm.class.php b/wcfsetup/install/files/lib/acp/form/PageEditForm.class.php index 6c283a35a9..6907a0eff6 100644 --- a/wcfsetup/install/files/lib/acp/form/PageEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/PageEditForm.class.php @@ -245,6 +245,7 @@ class PageEditForm extends PageAddForm { if ($this->page->isDisabled) $this->isDisabled = 1; if ($this->page->availableDuringOfflineMode) $this->availableDuringOfflineMode = 1; if ($this->page->allowSpidersToIndex) $this->allowSpidersToIndex = 1; + else $this->allowSpidersToIndex = 0; foreach ($this->page->getPageContents() as $languageID => $content) { $this->title[$languageID] = $content->title;