From 5baaa84ad638a5a9b63b4d5887395196ba7ad466 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sun, 26 Nov 2017 16:55:26 +0100 Subject: [PATCH] Fixed broken default value in page edit form --- wcfsetup/install/files/lib/acp/form/PageEditForm.class.php | 1 + 1 file changed, 1 insertion(+) 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; -- 2.20.1