]> granicus.if.org Git - php/commitdiff
revert change. now it doesn't compile again...someone should fix ext/date...
authorAndrey Hristov <andrey@php.net>
Tue, 15 Jan 2013 11:20:58 +0000 (12:20 +0100)
committerAndrey Hristov <andrey@php.net>
Tue, 15 Jan 2013 11:20:58 +0000 (12:20 +0100)
ext/date/php_date.c

index 1e1e2394567e3554d27dd6a667fee46978f0b16a..cc83130e1cf4079c0f2a4ea31b11a130368d1a49 100644 (file)
@@ -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;