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-12 15:16:25 +0000
commit793b52b576e7af8823ae24622c6a331fd473e149 (patch)
tree1bb392c52e75ccb2004451b00bda0b783cd9c56f
parent8b9d23c0cfcdfaa39f0a7d097cc471143cd4f4d2 (diff)
downloadphp-git-793b52b576e7af8823ae24622c6a331fd473e149.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);
}
/* }}} */