Permalink
Browse files

revert change. now it doesn't compile again...someone should fix ext/…

…date...
  • Loading branch information...
1 parent acc24d1 commit 5cfa916aad14df889e9119161e359b57a4d9886e Andrey Hristov committed Jan 15, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 ext/date/php_date.c
View
@@ -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;

0 comments on commit 5cfa916

Please sign in to comment.