mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Oh well, not much we can do for boards already converted.
#12819 git-svn-id: file:///svn/phpbb/trunk@7807 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -224,7 +224,13 @@ function make_uid($timestamp)
|
||||
*/
|
||||
function validate_website($url)
|
||||
{
|
||||
return ($url == 'http://') ? '' : $url;
|
||||
if ($url === 'http://'){
|
||||
return '';
|
||||
}
|
||||
else if (strstr('http://', $url) !== 0)
|
||||
{
|
||||
return 'http://' . $url;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user