mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
fixing access to const members in the normalizer and the normalizer test
git-svn-id: file:///svn/phpbb/trunk@8550 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -435,7 +435,7 @@ class utf_normalizer
|
||||
|
||||
default:
|
||||
// Five- and six- byte sequences do not need being checked for here anymore
|
||||
if ($utf_char > UTF8_MAX)
|
||||
if ($utf_char > self::UTF8_MAX)
|
||||
{
|
||||
// Out of the Unicode range
|
||||
if ($utf_char[0] < "\xF8")
|
||||
@@ -1345,7 +1345,7 @@ class utf_normalizer
|
||||
break;
|
||||
|
||||
default:
|
||||
if ($utf_char > UTF8_MAX)
|
||||
if ($utf_char > self::UTF8_MAX)
|
||||
{
|
||||
// Out of the Unicode range
|
||||
$tmp .= substr($str, $tmp_pos, $starter_pos - $tmp_pos);
|
||||
|
Reference in New Issue
Block a user