aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/utf
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/utf')
-rw-r--r--phpBB/includes/utf/utf_normalizer.php4
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);