mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-08 17:56:52 +02:00
git-svn-id: file:///svn/phpbb/trunk@7809 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user