diff options
author | Nils Adermann <naderman@naderman.de> | 2008-05-05 00:14:46 +0000 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2008-05-05 00:14:46 +0000 |
commit | 2cfc6b7e0b567dca9bf361ad3a694ba071821c44 (patch) | |
tree | 4ba96d9b3fd91f1b735916079e61f36b72b7db7a /phpBB/includes/utf | |
parent | 6871e7caa47ff928262213785f5209040fd5fca0 (diff) | |
download | forums-2cfc6b7e0b567dca9bf361ad3a694ba071821c44.tar forums-2cfc6b7e0b567dca9bf361ad3a694ba071821c44.tar.gz forums-2cfc6b7e0b567dca9bf361ad3a694ba071821c44.tar.bz2 forums-2cfc6b7e0b567dca9bf361ad3a694ba071821c44.tar.xz forums-2cfc6b7e0b567dca9bf361ad3a694ba071821c44.zip |
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
Diffstat (limited to 'phpBB/includes/utf')
-rw-r--r-- | phpBB/includes/utf/utf_normalizer.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/utf/utf_normalizer.php b/phpBB/includes/utf/utf_normalizer.php index 5ed14d4ebb..9048a71e51 100644 --- a/phpBB/includes/utf/utf_normalizer.php +++ b/phpBB/includes/utf/utf_normalizer.php @@ -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); |