aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2007-07-14 11:32:28 +0000
committerHenry Sudhof <kellanved@phpbb.com>2007-07-14 11:32:28 +0000
commit316f087d47e0741fa6864cdb3868f6ca8f5c03bd (patch)
tree8d87929a78616debf9057443acacef63cf8dbebd /phpBB
parent3b5b2f9695e72b16965a04d18cb0a480e7b4af58 (diff)
downloadforums-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')
-rw-r--r--phpBB/docs/CHANGELOG.html1
-rw-r--r--phpBB/includes/functions_convert.php4
2 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html
index 6d130fefc0..cc83b0168f 100644
--- a/phpBB/docs/CHANGELOG.html
+++ b/phpBB/docs/CHANGELOG.html
@@ -225,6 +225,7 @@ p a {
<li>[Fix] Although theoretically impossible in our code, changed the handling of non-existent language files (Bug #13329, #13331)</li>
<li>[Fix] Removed extra ampersand from ACP link (Bug #13315)</li>
<li>[Fix] used cleaned up version of given field identification for pre-filling a new custom profile field (Bug #13319)</li>
+ <li>[Fix] Correctly convert 2.0 website profile fields. (Bug #13379)</li>
</ul>
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;
}
/**