From: Alexander Ebert Date: Thu, 3 Oct 2013 12:21:00 +0000 (+0200) Subject: Fixed option-related forms X-Git-Tag: 2.0.0_Beta_11~63^2~5 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=13a8147ebcbb02d870a32b675c347b24056c0f89;p=GitHub%2FWoltLab%2FWCF.git Fixed option-related forms --- diff --git a/wcfsetup/install/files/lib/acp/form/AbstractOptionListForm.class.php b/wcfsetup/install/files/lib/acp/form/AbstractOptionListForm.class.php index 11c2daf902..726df15564 100755 --- a/wcfsetup/install/files/lib/acp/form/AbstractOptionListForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/AbstractOptionListForm.class.php @@ -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); }