mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 08:17:47 +02:00
Merge branch 'ticket/p/6855' into develop
* ticket/p/6855: [ticket/6855] Changed 'seperator' to 'separator'. [Igor Wiedler]
This commit is contained in:
@@ -1774,15 +1774,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