aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/functions_convert.php4
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;
}
/**