summaryrefslogtreecommitdiff
path: root/kohana/core/utf8/ord.php
diff options
context:
space:
mode:
Diffstat (limited to 'kohana/core/utf8/ord.php')
-rw-r--r--kohana/core/utf8/ord.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/kohana/core/utf8/ord.php b/kohana/core/utf8/ord.php
index 29723b6b..76e31872 100644
--- a/kohana/core/utf8/ord.php
+++ b/kohana/core/utf8/ord.php
@@ -77,7 +77,7 @@ function _ord($chr)
if ($ord0 >= 252 AND $ord0 <= 253)
{
- return ($ord0 - 252) * 1073741824 + ($ord1 - 128) * 16777216 + ($ord2 - 128) * 262144 + ($ord3 - 128) * 4096 + ($ord4 - 128) * 64 + (ord($c[5]) - 128);
+ return ($ord0 - 252) * 1073741824 + ($ord1 - 128) * 16777216 + ($ord2 - 128) * 262144 + ($ord3 - 128) * 4096 + ($ord4 - 128) * 64 + (ord($chr[5]) - 128);
}
if ($ord0 >= 254 AND $ord0 <= 255)