mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix Multibyte::strtolower()
This commit is contained in:
parent
aa14c68497
commit
7099c9d513
1 changed files with 1 additions and 1 deletions
|
@ -554,7 +554,7 @@ class Multibyte {
|
|||
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue