Skip to content
Permalink
Browse files

Fix Multibyte::strtolower()

  • Loading branch information...
tenkoma committed Jan 17, 2018
1 parent aa14c68 commit 7099c9d5136878b6af643cf83ec1382ae99bd7d2
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/I18n/Multibyte.php
@@ -554,7 +554,7 @@ public static function strtolower($string) {
if (!empty($keys)) {
foreach ($keys as $key => $value) {
if ($keys[$key]['upper'] == $char && count($keys[$key]['lower'][0]) === 1) {
if ($keys[$key]['upper'] == $char && count($keys[$key]['lower']) > 0) {
$lowerCase[] = $keys[$key]['lower'][0];
$matched = true;
break 1;

0 comments on commit 7099c9d

Please sign in to comment.
You can’t perform that action at this time.