summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2008-08-06 16:17:27 +0000
committerFelipe Pena <felipe@php.net>2008-08-06 16:17:27 +0000
commit81d894293d4713c5e34436e16b163859d332c63c (patch)
tree358f1e35f541c7146d919a4828281dfa46100c78
parent3cb1759e0846b2f2f1c3f9d257cbbb52e286d42e (diff)
downloadphp-git-81d894293d4713c5e34436e16b163859d332c63c.tar.gz
- MFH: Fixed crash msgfmt_get_pattern
-rwxr-xr-xext/intl/msgformat/msgformat_attr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/msgformat/msgformat_attr.c b/ext/intl/msgformat/msgformat_attr.c
index fed29f2ea7..2719cb3177 100755
--- a/ext/intl/msgformat/msgformat_attr.c
+++ b/ext/intl/msgformat/msgformat_attr.c
@@ -41,7 +41,7 @@ PHP_FUNCTION( msgfmt_get_pattern )
// Parse parameters.
if( zend_parse_method_parameters( ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O", &object, MessageFormatter_ce_ptr ) == FAILURE )
{
- intl_error_set( INTL_DATA_ERROR_P(mfo), U_ILLEGAL_ARGUMENT_ERROR,
+ intl_error_set(NULL, U_ILLEGAL_ARGUMENT_ERROR,
"msgfmt_get_pattern: unable to parse input params", 0 TSRMLS_CC );
RETURN_FALSE;
}