Fix error message for nonExistent user in UserFormField
authorTim Düsterhus <duesterhus@woltlab.com>
Wed, 25 Aug 2021 11:47:33 +0000 (13:47 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Wed, 25 Aug 2021 11:47:33 +0000 (13:47 +0200)
wcfsetup/install/files/lib/system/form/builder/field/user/UserFormField.class.php

index e9fb58f68baf28bf915a93b434493c88d766787e..8709041bbe267cd41f94bd170144b12bd8919ebf 100644 (file)
@@ -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;