mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update functions_validate.php
This commit is contained in:
parent
d9ee9e1cce
commit
f09666ed26
@ -78,7 +78,7 @@ function validate_email ($email, $check_ban_and_taken = true)
|
|||||||
{
|
{
|
||||||
return $lang['EMAIL_INVALID'];
|
return $lang['EMAIL_INVALID'];
|
||||||
}
|
}
|
||||||
if (strlen($email) > USEREMAIL_MAX_LENGTH)
|
if (mb_strlen($email, 'UTF-8') > USEREMAIL_MAX_LENGTH)
|
||||||
{
|
{
|
||||||
return $lang['EMAIL_TOO_LONG'];
|
return $lang['EMAIL_TOO_LONG'];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user