This commit is contained in:
2023-09-12 20:02:12 +02:00
parent be717d646d
commit 1238f003d6
2 changed files with 3 additions and 3 deletions

View File

@ -293,7 +293,7 @@ function check_email_valid( string $email, string &$msg = '' ): bool
{
$validator = new EmailValidator();
if ( ! $validator->isValid( $email, new NoRFCWarningsValidation() ) ) {
$msg .= '<div class="red" role="alert">'.htmlspecialchars(_('Invalid email address.)').'</div>';
$msg .= '<div class="red" role="alert">'.htmlspecialchars(_('Invalid email address.')).'</div>';
return false;
}
return true;