summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerick Rethans <github@derickrethans.nl>2012-12-19 17:40:14 +0000
committerDerick Rethans <github@derickrethans.nl>2013-01-14 20:34:58 +0000
commita0618139c9f7aa7859f338a485af161f672be9cd (patch)
tree5d10110910cc1e9e003decca3c390b38cf885724
parent017b1f7fca09896b05f2602136ffba7585cd4bfe (diff)
downloadphp-git-a0618139c9f7aa7859f338a485af161f672be9cd.tar.gz
Fixed crash bug when the non-OO interface was used.
-rw-r--r--ext/date/php_date.c2
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);
}
/* }}} */