mirror of
https://github.com/yiisoft/yii2.git
synced 2025-10-27 20:06:19 +08:00
Fix #20542: Fix Formatter working with more complex ICU unit data structure
This commit is contained in:
@ -3,7 +3,7 @@ Yii Framework 2 Change Log
|
||||
|
||||
2.0.54 under development
|
||||
------------------------
|
||||
|
||||
- Bug #20542: Fix `Formatter` working with more complex ICU unit data structure (OndrejVasicek)
|
||||
- Bug #20483: Fix `CompositeAuth` making bad assumptions on `AuthInterface` implementations (sammousa)
|
||||
- Bug #20432: Fix PHPStan/Psalm annotations for `ActiveQuery::asArray` (max-s-lab)
|
||||
- Bug #20437: Fix PHPStan/Psalm annotations for `BaseArrayHelper::merge` (max-s-lab)
|
||||
|
||||
@ -1679,7 +1679,7 @@ class Formatter extends Component
|
||||
|
||||
$message = [];
|
||||
foreach ($unitBundle as $key => $value) {
|
||||
if ($key === 'dnam') {
|
||||
if ($key === 'dnam' || $key === 'case') {
|
||||
continue;
|
||||
}
|
||||
$message[] = "$key{{$value}}";
|
||||
|
||||
Reference in New Issue
Block a user