1
0
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:
Henry Sudhof
2007-06-29 11:39:22 +00:00
parent 648de4354a
commit 1c22e7a407
2 changed files with 8 additions and 1 deletions

View File

@@ -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;
}
}
/**