From 5cfa916aad14df889e9119161e359b57a4d9886e Mon Sep 17 00:00:00 2001 From: Andrey Hristov Date: Tue, 15 Jan 2013 12:20:58 +0100 Subject: [PATCH] revert change. now it doesn't compile again...someone should fix ext/date... --- ext/date/php_date.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/date/php_date.c b/ext/date/php_date.c index 1e1e2394567e3..cc83130e1cf40 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -2071,7 +2071,7 @@ static zval* date_clone_immutable(zval *object) zval *new_object; ALLOC_ZVAL(new_object); -// Z_OBJVAL_P(new_object) = date_object_clone_date(object); + Z_OBJVAL_P(new_object) = date_object_clone_date(object); Z_SET_REFCOUNT_P(new_object, 1); Z_SET_ISREF_P(new_object); Z_TYPE_P(new_object) = IS_OBJECT;