From: Matthias Schmidt Date: Thu, 25 Dec 2014 12:33:49 +0000 (+0100) Subject: Unify errorField in UserRegistrationDateCondition X-Git-Tag: 2.1.0_Beta_3~80 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f044bea64072e388e0354ad6c2077259657228b3;p=GitHub%2FWoltLab%2FWCF.git Unify errorField in UserRegistrationDateCondition --- diff --git a/wcfsetup/install/files/lib/system/condition/UserRegistrationDateCondition.class.php b/wcfsetup/install/files/lib/system/condition/UserRegistrationDateCondition.class.php index b8a10cd18d..0d895eb94e 100644 --- a/wcfsetup/install/files/lib/system/condition/UserRegistrationDateCondition.class.php +++ b/wcfsetup/install/files/lib/system/condition/UserRegistrationDateCondition.class.php @@ -131,7 +131,7 @@ HTML; if ($registrationDateStart === false) { $this->errorMessage = 'wcf.user.condition.registrationDate.error.startNotValid'; - throw new UserInputException('registrationDateStart', 'startNotValid'); + throw new UserInputException('registrationDate', 'startNotValid'); } } if (strlen($this->registrationDateEnd)) { @@ -139,14 +139,14 @@ HTML; if ($registrationDateEnd === false) { $this->errorMessage = 'wcf.user.condition.registrationDate.error.endNotValid'; - throw new UserInputException('registrationDateEnd', 'endNotValid'); + throw new UserInputException('registrationDate', 'endNotValid'); } } if ($registrationDateEnd !== null && $registrationDateStart !== null && $registrationDateEnd < $registrationDateStart) { $this->errorMessage = 'wcf.user.condition.registrationDate.error.endBeforeStart'; - throw new UserInputException('registrationDateEnd', 'endBeforeStart'); + throw new UserInputException('registrationDate', 'endBeforeStart'); } }