diff options
author | Xinchen Hui <laruence@gmail.com> | 2014-03-07 15:12:33 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@gmail.com> | 2014-03-07 15:12:52 +0800 |
commit | 7c623c0e89e2e5798bc40e3cb48e4151f2eab1ca (patch) | |
tree | ccef1febc75737330cbb861f334d7983b2702a18 | |
parent | 7003e765126855737f3527142a82d9b9ce34e11a (diff) | |
download | php-git-7c623c0e89e2e5798bc40e3cb48e4151f2eab1ca.tar.gz |
Fixed asseration failed in ob_get_status
-rw-r--r-- | main/output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/output.c b/main/output.c index 6504954593..e9a816d44c 100644 --- a/main/output.c +++ b/main/output.c @@ -1170,9 +1170,9 @@ static int php_output_stack_apply_list(void *h, void *z) static int php_output_stack_apply_status(void *h, void *z) { php_output_handler *handler = *(php_output_handler **) h; - zval *array = (zval *) z; + zval arr, *array = (zval *) z; - add_next_index_zval(array, php_output_handler_status(handler, NULL)); + add_next_index_zval(array, php_output_handler_status(handler, &arr)); return 0; } |