diff options
-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; } |