diff options
| author | Henry Sudhof <kellanved@phpbb.com> | 2007-06-29 11:39:22 +0000 |
|---|---|---|
| committer | Henry Sudhof <kellanved@phpbb.com> | 2007-06-29 11:39:22 +0000 |
| commit | 1c22e7a40728fde76b9b9e5afd168f8eb0313268 (patch) | |
| tree | 2d0a9dc57351d507277f9af97019a1932c58bd8e /phpBB/includes/functions_convert.php | |
| parent | 648de4354a02c0b48d1e823c6d0196720586cb73 (diff) | |
| download | forums-1c22e7a40728fde76b9b9e5afd168f8eb0313268.tar forums-1c22e7a40728fde76b9b9e5afd168f8eb0313268.tar.gz forums-1c22e7a40728fde76b9b9e5afd168f8eb0313268.tar.bz2 forums-1c22e7a40728fde76b9b9e5afd168f8eb0313268.tar.xz forums-1c22e7a40728fde76b9b9e5afd168f8eb0313268.zip | |
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
Diffstat (limited to 'phpBB/includes/functions_convert.php')
| -rw-r--r-- | phpBB/includes/functions_convert.php | 8 |
1 files changed, 7 insertions, 1 deletions
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; + } } /** |
