From 388607dc2d4b026e529e6fa703543bf00e911108 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sun, 16 Mar 2003 00:03:27 +0000 Subject: [PATCH] MFH bugfix #21751 --- NEWS | 1 + main/main.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 4a03a6305a..66fdf19765 100644 --- a/NEWS +++ b/NEWS @@ -89,6 +89,7 @@ PHP 4 NEWS - Fixed bug #21815 (fpassthru() ignored buffered data but complained anyway). (Wez) - Fixed bug #21809 (select would not always timeout during socket shutdown). (Wez) +- Fixed bug #21751 (default output buffer could not be deleted). (Marcus) - Fixed bug #21725 (return behaviour differs between include and require). (Zeev) - Fixed bug #21713 (include remote files leaks descriptors on Solaris). (Wez) - Fixed bug #21708 (ucwords() trouble again). (Moriyoshi) diff --git a/main/main.c b/main/main.c index 5e0203483f..529409cb42 100644 --- a/main/main.c +++ b/main/main.c @@ -923,7 +923,7 @@ int php_request_startup(TSRMLS_D) php_start_ob_buffer_named(PG(output_handler), 0, 1 TSRMLS_CC); } else if (PG(output_buffering)) { if (PG(output_buffering)>1) { - php_start_ob_buffer(NULL, PG(output_buffering), 0 TSRMLS_CC); + php_start_ob_buffer(NULL, PG(output_buffering), 1 TSRMLS_CC); } else { php_start_ob_buffer(NULL, 0, 1 TSRMLS_CC); } -- 2.50.1