diff options
| author | Derick Rethans <github@derickrethans.nl> | 2012-10-04 08:39:21 +0100 |
|---|---|---|
| committer | Derick Rethans <github@derickrethans.nl> | 2012-10-04 08:39:21 +0100 |
| commit | 34eb787828d3ef7a773464ace6db40444dcef9a3 (patch) | |
| tree | cf31114fe2cb673b9042eb6ff1df9954ecf54a31 /ext/intl/msgformat/msgformat_class.c | |
| parent | ab62ffa0a2467d8781aca65bd11dbfc034de7c64 (diff) | |
| parent | 9e3396b85dc5e21fefbe43e161ecf25292da6b8e (diff) | |
| download | php-git-34eb787828d3ef7a773464ace6db40444dcef9a3.tar.gz | |
Merge branch 'PHP-5.4' of git.php.net:/php-src into PHP-5.4
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); |
