summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}
/* }}} */