From 316f087d47e0741fa6864cdb3868f6ca8f5c03bd Mon Sep 17 00:00:00 2001 From: Henry Sudhof Date: Sat, 14 Jul 2007 11:32:28 +0000 Subject: #13379 git-svn-id: file:///svn/phpbb/trunk@7882 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_convert.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'phpBB/includes/functions_convert.php') 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; } /** -- cgit v1.2.1