diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index b01e970ef5..b7201dface 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -196,6 +196,7 @@ p a {
  • [Fix] Allow adding of help language files within subdirectories (Bug #12783)
  • [Fix] Correctly apply smileys on posting having # within their emotion code
  • [Fix] Correctly convert smileys having double quotes within their emotion code (Bug #12731)
  • +
  • [Fix] The converter now adds the protocol to user website profile fields missing it (Bug #12819)
  • 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; + } } /**