diff options
author | Gustavo Lopes <glopes@nebm.ist.utl.pt> | 2012-08-26 23:37:09 +0200 |
---|---|---|
committer | Gustavo Lopes <glopes@nebm.ist.utl.pt> | 2012-08-26 23:42:13 +0200 |
commit | 886a50a619e55c9c1a5597449d6c71c69ff6fef8 (patch) | |
tree | 7e0f1279514258a78529978969368fe35c6a6126 /ext/intl/msgformat/msgformat_class.c | |
parent | 63a1801d195441bc681ff20ecf9dddac787824d8 (diff) | |
download | php-git-886a50a619e55c9c1a5597449d6c71c69ff6fef8.tar.gz |
Fixed defective cloning in ext/intl classes
See also bug #62915
Diffstat (limited to 'ext/intl/msgformat/msgformat_class.c')
-rw-r--r-- | ext/intl/msgformat/msgformat_class.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/msgformat/msgformat_class.c b/ext/intl/msgformat/msgformat_class.c index da1e1e595a..bb3b55f39c 100644 --- a/ext/intl/msgformat/msgformat_class.c +++ b/ext/intl/msgformat/msgformat_class.c @@ -84,7 +84,7 @@ zend_object_value MessageFormatter_object_clone(zval *object TSRMLS_DC) MessageFormatter_object *mfo, *new_mfo; MSG_FORMAT_METHOD_FETCH_OBJECT_NO_CHECK; - new_obj_val = MessageFormatter_ce_ptr->create_object(MessageFormatter_ce_ptr TSRMLS_CC); + new_obj_val = MessageFormatter_ce_ptr->create_object(Z_OBJCE_P(object) TSRMLS_CC); new_mfo = (MessageFormatter_object *)zend_object_store_get_object_by_handle(new_obj_val.handle TSRMLS_CC); /* clone standard parts */ zend_objects_clone_members(&new_mfo->zo, new_obj_val, &mfo->zo, handle TSRMLS_CC); |