diff options
author | Henry Sudhof <kellanved@phpbb.com> | 2007-07-14 11:32:28 +0000 |
---|---|---|
committer | Henry Sudhof <kellanved@phpbb.com> | 2007-07-14 11:32:28 +0000 |
commit | 316f087d47e0741fa6864cdb3868f6ca8f5c03bd (patch) | |
tree | 8d87929a78616debf9057443acacef63cf8dbebd /phpBB/includes/functions_convert.php | |
parent | 3b5b2f9695e72b16965a04d18cb0a480e7b4af58 (diff) | |
download | forums-316f087d47e0741fa6864cdb3868f6ca8f5c03bd.tar forums-316f087d47e0741fa6864cdb3868f6ca8f5c03bd.tar.gz forums-316f087d47e0741fa6864cdb3868f6ca8f5c03bd.tar.bz2 forums-316f087d47e0741fa6864cdb3868f6ca8f5c03bd.tar.xz forums-316f087d47e0741fa6864cdb3868f6ca8f5c03bd.zip |
#13379
git-svn-id: file:///svn/phpbb/trunk@7882 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_convert.php')
-rw-r--r-- | phpBB/includes/functions_convert.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/includes/functions_convert.php b/phpBB/includes/functions_convert.php index 4037fb4872..5cd74ccbd3 100644 --- a/phpBB/includes/functions_convert.php +++ b/phpBB/includes/functions_convert.php @@ -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; } /** |