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:
committed by
Nils Adermann
parent
dea1d660fb
commit
22232213f9
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user