summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}