diff options
author | Henry Sudhof <kellanved@phpbb.com> | 2007-06-29 13:37:21 +0000 |
---|---|---|
committer | Henry Sudhof <kellanved@phpbb.com> | 2007-06-29 13:37:21 +0000 |
commit | 3cb990df4d8d8d09b46a16918e10c6ba2d0fde19 (patch) | |
tree | 9a4c917587cd288b09139c2361381e8cd5a815ce /phpBB/includes/functions_convert.php | |
parent | 6f37638caee649060dc9f933af6773652a813035 (diff) | |
download | forums-3cb990df4d8d8d09b46a16918e10c6ba2d0fde19.tar forums-3cb990df4d8d8d09b46a16918e10c6ba2d0fde19.tar.gz forums-3cb990df4d8d8d09b46a16918e10c6ba2d0fde19.tar.bz2 forums-3cb990df4d8d8d09b46a16918e10c6ba2d0fde19.tar.xz forums-3cb990df4d8d8d09b46a16918e10c6ba2d0fde19.zip |
#12461
git-svn-id: file:///svn/phpbb/trunk@7809 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_convert.php')
-rw-r--r-- | phpBB/includes/functions_convert.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_convert.php b/phpBB/includes/functions_convert.php index 0aa3c205f5..4037fb4872 100644 --- a/phpBB/includes/functions_convert.php +++ b/phpBB/includes/functions_convert.php @@ -227,7 +227,7 @@ function validate_website($url) if ($url === 'http://'){ return ''; } - else if (strstr('http://', $url) !== 0) + else if (strpos(strtolower($url), 'http://') !== 0) { return 'http://' . $url; } |