git-svn-id: file:///svn/phpbb/trunk@7882 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Henry Sudhof 2007-07-14 11:32:28 +00:00
parent 3b5b2f9695
commit 316f087d47
2 changed files with 4 additions and 1 deletions

View file

@ -225,6 +225,7 @@ p a {
<li>[Fix] Although theoretically impossible in our code, changed the handling of non-existent language files (Bug #13329, #13331)</li>
<li>[Fix] Removed extra ampersand from ACP link (Bug #13315)</li>
<li>[Fix] used cleaned up version of given field identification for pre-filling a new custom profile field (Bug #13319)</li>
<li>[Fix] Correctly convert 2.0 website profile fields. (Bug #13379)</li>
</ul>

View file

@ -224,13 +224,15 @@ function make_uid($timestamp)
*/
function validate_website($url)
{
if ($url === 'http://'){
if ($url === 'http://')
{
return '';
}
else if (strpos(strtolower($url), 'http://') !== 0)
{
return 'http://' . $url;
}
return $url;
}
/**