diff options
| author | Derick Rethans <github@derickrethans.nl> | 2012-12-19 17:40:14 +0000 |
|---|---|---|
| committer | Derick Rethans <github@derickrethans.nl> | 2013-01-14 20:34:58 +0000 |
| commit | a0618139c9f7aa7859f338a485af161f672be9cd (patch) | |
| tree | 5d10110910cc1e9e003decca3c390b38cf885724 | |
| parent | 017b1f7fca09896b05f2602136ffba7585cd4bfe (diff) | |
| download | php-git-a0618139c9f7aa7859f338a485af161f672be9cd.tar.gz | |
Fixed crash bug when the non-OO interface was used.
| -rw-r--r-- | ext/date/php_date.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } /* }}} */ |
