From 0fb7cac34400271d2df8bbfc83a04d565e82537a Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Tue, 20 Sep 2016 18:08:18 +0200 Subject: [PATCH] Fix creating multiple boxes after each other MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit `boxType` is no “classical” input field which needs to be/may be reseted. --- wcfsetup/install/files/lib/acp/form/BoxAddForm.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/acp/form/BoxAddForm.class.php b/wcfsetup/install/files/lib/acp/form/BoxAddForm.class.php index 60e1a1b249..d21e0dc3e4 100644 --- a/wcfsetup/install/files/lib/acp/form/BoxAddForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/BoxAddForm.class.php @@ -500,7 +500,7 @@ class BoxAddForm extends AbstractForm { WCF::getTPL()->assign('success', true); // reset variables - $this->boxType = $this->position = $this->cssClassName = $this->name = ''; + $this->position = $this->cssClassName = $this->name = ''; $this->showOrder = $this->boxControllerID = 0; $this->visibleEverywhere = $this->showHeader = 1; $this->title = $this->content = $this->images = $this->imageID = $this->pageIDs = $this->aclValues = []; -- 2.20.1