Fixed asseration failed in ob_get_status

This commit is contained in:
Xinchen Hui committed 2014-03-07 15:12:52 +08:00
1 parent 7003e76512
commit 7c623c0e89
1 file changed
+2 -2
+2 -2
View File
@@ -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;
}