diff options
author | Ondřej Surý <ondrej@sury.org> | 2013-11-21 09:50:14 +0100 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2013-11-21 09:50:14 +0100 |
commit | 0d7d3241164b4769b93867da2e8adb724ae17950 (patch) | |
tree | 18848ffcc5f7d70c56cd890352f518b60af11ea1 /ext/intl/msgformat/msgformat_helpers.cpp | |
parent | 3f2474550cbf299d8a7df34988ece052a0401414 (diff) | |
download | php-0d7d3241164b4769b93867da2e8adb724ae17950.tar.gz |
New upstream version 5.5.6+dfsgupstream/5.5.6+dfsg
Diffstat (limited to 'ext/intl/msgformat/msgformat_helpers.cpp')
-rw-r--r-- | ext/intl/msgformat/msgformat_helpers.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/intl/msgformat/msgformat_helpers.cpp b/ext/intl/msgformat/msgformat_helpers.cpp index c4456d54f..f75fd91dc 100644 --- a/ext/intl/msgformat/msgformat_helpers.cpp +++ b/ext/intl/msgformat/msgformat_helpers.cpp @@ -209,6 +209,9 @@ static HashTable *umsg_parse_format(MessageFormatter_object *mfo, continue; } } + } else { + intl_errors_set(&err, U_INVALID_FORMAT_ERROR, "Invalid part type encountered", 0 TSRMLS_CC); + continue; } UMessagePatternArgType argType = p.getArgType(); |