From a0618139c9f7aa7859f338a485af161f672be9cd Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Wed, 19 Dec 2012 17:40:14 +0000 Subject: [PATCH] Fixed crash bug when the non-OO interface was used. --- 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 596a7a94d9..fc281ce086 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -2954,7 +2954,7 @@ PHP_FUNCTION(date_modify) php_date_modify(object, modify, modify_len, return_value TSRMLS_CC); - RETURN_ZVAL(getThis(), 1, 0); + RETURN_ZVAL(object, 1, 0); } /* }}} */ -- 2.40.0