Fixed option-related forms
authorAlexander Ebert <ebert@woltlab.com>
Thu, 3 Oct 2013 12:21:00 +0000 (14:21 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 3 Oct 2013 12:21:00 +0000 (14:21 +0200)
wcfsetup/install/files/lib/acp/form/AbstractOptionListForm.class.php

index 11c2daf90236ccf5d7b6458472569014892809d3..726df155648dd38de02420258cfada03e95cc3a5 100755 (executable)
@@ -84,10 +84,10 @@ abstract class AbstractOptionListForm extends AbstractForm {
         * @see wcf\form\IForm::validate()
         */
        public function validate() {
-               parent::validate();
-               
                $this->errorType = array_merge($this->optionHandler->validate(), $this->errorType);
                
+               parent::validate();
+               
                if (!empty($this->errorType)) {
                        throw new UserInputException('options', $this->errorType);
                }