1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

yet another oops...

git-svn-id: file:///svn/phpbb/trunk@6370 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M
2006-09-15 22:38:42 +00:00
parent ccaaa3a307
commit 9479bc428f

View File

@@ -394,7 +394,7 @@ $UTF8_LOWER_TO_UPPER = array(
return '';
}
if (($offset + $length) > $strlen)
if (($offset + $length) > $strlen)
{
$length = '*';
}
@@ -611,7 +611,7 @@ function utf8_encode_ncr($text)
*/
function utf8_encode_ncr_callback($m)
{
return utf8_ord($m[0]);
return '&#' . utf8_ord($m[0]) . ';';
}
function utf8_ord($chr)