com php-src: Fixed crash bug when the non-OO interface was used.: ext/date/php_date.c

From: Date: Wed, 19 Dec 2012 17:53:47 +0000
Subject: com php-src: Fixed crash bug when the non-OO interface was used.: ext/date/php_date.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-70769@lists.php.net to get a copy of this message
Commit: b1c68330161f7ccf4fdb4786ac1b0b28778d3f55 Author: Derick Rethans <github@derickrethans.nl> Wed, 19 Dec 2012 17:40:14 +0000 Parents: 6b48ae4580a0e97f7df4f1733eca345755110b96 Branches: immutable-date Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b1c68330161f7ccf4fdb4786ac1b0b28778d3f55 Log: Fixed crash bug when the non-OO interface was used. Changed paths: M ext/date/php_date.c Diff: diff --git a/ext/date/php_date.c b/ext/date/php_date.c index db0bbe8..08a473d 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -2923,7 +2923,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); } /* }}} */

« previous php.cvs (#70769) next »