1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-05 23:25:30 +02:00

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
This commit is contained in:
Henry Sudhof 2007-06-29 11:39:22 +00:00
parent 648de4354a
commit 1c22e7a407
2 changed files with 8 additions and 1 deletions

View File

@ -196,6 +196,7 @@ p a {
<li>[Fix] Allow adding of help language files within subdirectories (Bug #12783)</li> <li>[Fix] Allow adding of help language files within subdirectories (Bug #12783)</li>
<li>[Fix] Correctly apply smileys on posting having # within their emotion code</li> <li>[Fix] Correctly apply smileys on posting having # within their emotion code</li>
<li>[Fix] Correctly convert smileys having double quotes within their emotion code (Bug #12731)</li> <li>[Fix] Correctly convert smileys having double quotes within their emotion code (Bug #12731)</li>
<li>[Fix] The converter now adds the protocol to user website profile fields missing it (Bug #12819)</li>
</ul> </ul>

View File

@ -224,7 +224,13 @@ function make_uid($timestamp)
*/ */
function validate_website($url) function validate_website($url)
{ {
return ($url == 'http://') ? '' : $url; if ($url === 'http://'){
return '';
}
else if (strstr('http://', $url) !== 0)
{
return 'http://' . $url;
}
} }
/** /**