1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/6855] Changed 'seperator' to 'separator'. [Igor Wiedler]

PHPBB3-6855
This commit is contained in:
Oleg Pudeyev
2010-04-29 11:03:22 -04:00
committed by Nils Adermann
parent dea1d660fb
commit 22232213f9
2 changed files with 10 additions and 10 deletions

View File

@@ -1755,15 +1755,15 @@ function validate_jabber($jid)
return false;
}
$seperator_pos = strpos($jid, '@');
$separator_pos = strpos($jid, '@');
if ($seperator_pos === false)
if ($separator_pos === false)
{
return 'WRONG_DATA';
}
$username = substr($jid, 0, $seperator_pos);
$realm = substr($jid, $seperator_pos + 1);
$username = substr($jid, 0, $separator_pos);
$realm = substr($jid, $separator_pos + 1);
if (strlen($username) == 0 || strlen($realm) < 3)
{