]> granicus.if.org Git - php/commitdiff
Fixed crash bug when the non-OO interface was used.
authorDerick Rethans <github@derickrethans.nl>
Wed, 19 Dec 2012 17:40:14 +0000 (17:40 +0000)
committerDerick Rethans <github@derickrethans.nl>
Mon, 14 Jan 2013 20:34:58 +0000 (20:34 +0000)
ext/date/php_date.c

index 596a7a94d9d0c068344c44d35b09c4cefd84b2dd..fc281ce0861d9c9e81e12d38c4f5ab616b063312 100644 (file)
@@ -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);
 }
 /* }}} */