Skip to content

Commit

Permalink
revert change. now it doesn't compile again...someone should fix ext/…
Browse files Browse the repository at this point in the history
…date...
  • Loading branch information
faizshukri committed Jan 15, 2013
1 parent acc24d1 commit 5cfa916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/date/php_date.c
Expand Up @@ -2071,7 +2071,7 @@ static zval* date_clone_immutable(zval *object)
zval *new_object; zval *new_object;


ALLOC_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_REFCOUNT_P(new_object, 1);
Z_SET_ISREF_P(new_object); Z_SET_ISREF_P(new_object);
Z_TYPE_P(new_object) = IS_OBJECT; Z_TYPE_P(new_object) = IS_OBJECT;
Expand Down

0 comments on commit 5cfa916

Please sign in to comment.