Skip to content
Snippets Groups Projects
Commit 789a3147 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fixes #4217

Closes #4217

Merge request studip/studip!3051
parent 0afb9c16
No related branches found
No related tags found
No related merge requests found
......@@ -121,7 +121,7 @@ class email_validation_class
*/
public function ValidateEmailAddress($email, $domains = '')
{
$converted_email = $this->idna_convert->convert($email);
$converted_email = $this->idna_convert->convertEmailAddress($email);
if (!filter_var($converted_email, FILTER_VALIDATE_EMAIL)) {
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment