summaryrefslogtreecommitdiff
path: root/ext/intl/formatter/formatter_class.c
diff options
context:
space:
mode:
authorDerick Rethans <github@derickrethans.nl>2012-10-04 08:39:34 +0100
committerDerick Rethans <github@derickrethans.nl>2012-10-04 08:39:34 +0100
commitb004a04f0aaf041e5fabaf788eee3e9ee0f3afaf (patch)
treef3b3dd22329eb6f2b258145a92722becb9ee6b8d /ext/intl/formatter/formatter_class.c
parent78354f30d99ebc7f1035c567b9b00e967d87ecc8 (diff)
parent64c09f68ec66061d1085ad5a5ef0a5ced63450b6 (diff)
downloadphp-git-b004a04f0aaf041e5fabaf788eee3e9ee0f3afaf.tar.gz
Merge branch 'PHP-5.3' of git.php.net:/php-src into PHP-5.3
Diffstat (limited to 'ext/intl/formatter/formatter_class.c')
-rw-r--r--ext/intl/formatter/formatter_class.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/formatter/formatter_class.c b/ext/intl/formatter/formatter_class.c
index 5790f0c2e1..9de1e1e96e 100644
--- a/ext/intl/formatter/formatter_class.c
+++ b/ext/intl/formatter/formatter_class.c
@@ -85,7 +85,7 @@ zend_object_value NumberFormatter_object_clone(zval *object TSRMLS_DC)
NumberFormatter_object *nfo, *new_nfo;
FORMATTER_METHOD_FETCH_OBJECT_NO_CHECK;
- new_obj_val = NumberFormatter_ce_ptr->create_object(NumberFormatter_ce_ptr TSRMLS_CC);
+ new_obj_val = NumberFormatter_ce_ptr->create_object(Z_OBJCE_P(object) TSRMLS_CC);
new_nfo = (NumberFormatter_object *)zend_object_store_get_object_by_handle(new_obj_val.handle TSRMLS_CC);
/* clone standard parts */
zend_objects_clone_members(&new_nfo->zo, new_obj_val, &nfo->zo, handle TSRMLS_CC);