diff options
author | Stanislav Malyshev <stas@php.net> | 2008-07-22 20:40:01 +0000 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2008-07-22 20:40:01 +0000 |
commit | 0d30c88ded9883e801ef7e83ed78eae4f1eb20db (patch) | |
tree | 7e70ad6bd0851e653f9501cc28183a3fab95086d /ext/intl/msgformat/msgformat.c | |
parent | 07667caf131f1e10f1e440737515b56f5ffbcf91 (diff) | |
download | php-git-0d30c88ded9883e801ef7e83ed78eae4f1eb20db.tar.gz |
use correct locale check
Diffstat (limited to 'ext/intl/msgformat/msgformat.c')
-rwxr-xr-x | ext/intl/msgformat/msgformat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/msgformat/msgformat.c b/ext/intl/msgformat/msgformat.c index 679beb81ad..ba8cef78a7 100755 --- a/ext/intl/msgformat/msgformat.c +++ b/ext/intl/msgformat/msgformat.c @@ -48,7 +48,7 @@ static void msgfmt_ctor(INTERNAL_FUNCTION_PARAMETERS) RETURN_NULL(); } - INTL_CHECK_LOCALE_LEN(locale_len); + INTL_CHECK_LOCALE_LEN_OBJ(locale_len, return_value); MSG_FORMAT_METHOD_FETCH_OBJECT; // Convert pattern (if specified) to UTF-16. |