From 793b52b576e7af8823ae24622c6a331fd473e149 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Wed, 19 Dec 2012 17:40:14 +0000 Subject: 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); } /* }}} */ -- cgit v1.2.1