mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fixed bug #70484 selectordinal doesn't work with named parameters
This commit is contained in:
parent
f62943edc8
commit
28b6f66a77
2 changed files with 101 additions and 0 deletions
|
@ -264,6 +264,10 @@ static HashTable *umsg_parse_format(MessageFormatter_object *mfo,
|
|||
type = Formattable::kDouble;
|
||||
} else if (argType == UMSGPAT_ARG_TYPE_SELECT) {
|
||||
type = Formattable::kString;
|
||||
#if U_ICU_VERSION_MAJOR_NUM >= 50
|
||||
} else if (argType == UMSGPAT_ARG_TYPE_SELECTORDINAL) {
|
||||
type = Formattable::kDouble;
|
||||
#endif
|
||||
} else {
|
||||
type = Formattable::kString;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue