summaryrefslogtreecommitdiff
path: root/ext/intl/msgformat/msgformat_class.c
diff options
context:
space:
mode:
authorFelipe Pena <felipensp@gmail.com>2012-07-14 11:37:08 -0300
committerFelipe Pena <felipensp@gmail.com>2012-07-14 11:37:08 -0300
commit8b093dee214c1bf02e06eddf512c4a11ed028b3a (patch)
tree84f54f7899e3324a5e586502c1208883ca7f44ff /ext/intl/msgformat/msgformat_class.c
parent10251b20c3be842f1a8dbc43e2f4894fa41aa16b (diff)
downloadphp-git-8b093dee214c1bf02e06eddf512c4a11ed028b3a.tar.gz
- Fixed bug #62564 (Extending MessageFormatter and adding property causes crash)
Diffstat (limited to 'ext/intl/msgformat/msgformat_class.c')
-rwxr-xr-xext/intl/msgformat/msgformat_class.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/intl/msgformat/msgformat_class.c b/ext/intl/msgformat/msgformat_class.c
index d0138854eb..8145a46f17 100755
--- a/ext/intl/msgformat/msgformat_class.c
+++ b/ext/intl/msgformat/msgformat_class.c
@@ -60,6 +60,7 @@ zend_object_value MessageFormatter_object_create(zend_class_entry *ce TSRMLS_DC)
intern = ecalloc( 1, sizeof(MessageFormatter_object) );
msgformat_data_init( &intern->mf_data TSRMLS_CC );
zend_object_std_init( &intern->zo, ce TSRMLS_CC );
+ object_properties_init(&intern->zo, ce);
retval.handle = zend_objects_store_put(
intern,