Fix creating multiple boxes after each other
authorMatthias Schmidt <gravatronics@live.com>
Tue, 20 Sep 2016 16:08:18 +0000 (18:08 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Tue, 20 Sep 2016 16:08:18 +0000 (18:08 +0200)
`boxType` is no “classical” input field which needs to be/may be
reseted.

wcfsetup/install/files/lib/acp/form/BoxAddForm.class.php

index 60e1a1b24999c9a34d290c8c481f38344ddf58e9..d21e0dc3e4b4ccd9d7ff751dc8538b5d649d7bb2 100644 (file)
@@ -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 = [];