aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_user.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2010-08-22 17:48:44 +0200
committerAndreas Fischer <bantu@phpbb.com>2010-08-22 17:48:44 +0200
commitdfa53bfe9a21e25ae86ff954e2d9da8bdec6c317 (patch)
tree4c23d23cb131a00d6266cb2286d660b36af92cb5 /phpBB/includes/functions_user.php
parent2e787fa836dbfdcec7864b5f143520aec3752bd0 (diff)
parent22232213f9a2354f8a38c3ca35faa46fc7085ec0 (diff)
downloadforums-dfa53bfe9a21e25ae86ff954e2d9da8bdec6c317.tar
forums-dfa53bfe9a21e25ae86ff954e2d9da8bdec6c317.tar.gz
forums-dfa53bfe9a21e25ae86ff954e2d9da8bdec6c317.tar.bz2
forums-dfa53bfe9a21e25ae86ff954e2d9da8bdec6c317.tar.xz
forums-dfa53bfe9a21e25ae86ff954e2d9da8bdec6c317.zip
Merge branch 'ticket/p/6855' into develop
* ticket/p/6855: [ticket/6855] Changed 'seperator' to 'separator'. [Igor Wiedler]
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r--phpBB/includes/functions_user.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php
index d3594196b7..1cc7a69ad6 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -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)
{