X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fhtmlform%2Ffields%2FHTMLUserTextField.php;h=12c09c1d7e71d57662443d105a13f52d9e8d7fbb;hp=14b5e5957316480c7522a623c9e5a774553ab01e;hb=9964ca1a390c446397dcd466916ffed356cdc3c9;hpb=47437e0653542aae57ea456b24486efb48ee8aac diff --git a/includes/htmlform/fields/HTMLUserTextField.php b/includes/htmlform/fields/HTMLUserTextField.php index 14b5e59573..12c09c1d7e 100644 --- a/includes/htmlform/fields/HTMLUserTextField.php +++ b/includes/htmlform/fields/HTMLUserTextField.php @@ -28,12 +28,12 @@ class HTMLUserTextField extends HTMLTextField { $user = User::newFromName( $value, false ); if ( !$user ) { - return $this->msg( 'htmlform-user-not-valid', $value )->parse(); + return $this->msg( 'htmlform-user-not-valid', $value ); } elseif ( ( $this->mParams['exists'] && $user->getId() === 0 ) && !( $this->mParams['ipallowed'] && User::isIP( $value ) ) ) { - return $this->msg( 'htmlform-user-not-exists', $user->getName() )->parse(); + return $this->msg( 'htmlform-user-not-exists', $user->getName() ); } return parent::validate( $value, $alldata );