From f044bea64072e388e0354ad6c2077259657228b3 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Thu, 25 Dec 2014 13:33:49 +0100 Subject: [PATCH] Unify errorField in UserRegistrationDateCondition --- .../condition/UserRegistrationDateCondition.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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'); } } -- 2.20.1