From: Tim Düsterhus Date: Wed, 25 Aug 2021 11:47:33 +0000 (+0200) Subject: Fix error message for nonExistent user in UserFormField X-Git-Tag: 5.4.5_RC_1~13 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c5464d022f76e2c06649d1662c510dde885556a4;p=GitHub%2FWoltLab%2FWCF.git Fix error message for nonExistent user in UserFormField --- diff --git a/wcfsetup/install/files/lib/system/form/builder/field/user/UserFormField.class.php b/wcfsetup/install/files/lib/system/form/builder/field/user/UserFormField.class.php index e9fb58f68b..8709041bbe 100644 --- a/wcfsetup/install/files/lib/system/form/builder/field/user/UserFormField.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/field/user/UserFormField.class.php @@ -191,7 +191,7 @@ class UserFormField extends AbstractFormField implements if ($user === null) { $this->addValidationError(new FormFieldValidationError( 'nonExistent', - 'wcf.form.field.user.error.invalid' + 'wcf.form.field.user.error.nonExistent' )); } else { $this->users[] = $user;