From 1c22e7a40728fde76b9b9e5afd168f8eb0313268 Mon Sep 17 00:00:00 2001 From: Henry Sudhof Date: Fri, 29 Jun 2007 11:39:22 +0000 Subject: 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 --- phpBB/includes/functions_convert.php | 8 +++++++- 1 file changed, 7 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 324844aa7f..0aa3c205f5 100644 --- a/phpBB/includes/functions_convert.php +++ b/phpBB/includes/functions_convert.php @@ -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; + } } /** -- cgit v1.2.1