php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #60040
Patch php_end_ob_buffer.diff revision 2011-10-11 14:15 UTC by jille at hexon dot cx

Patch php_end_ob_buffer.diff for Output Control Bug #60040

Patch version 2011-10-11 14:15 UTC

Return to Bug #60040 | Download this patch
Patch Revisions:

Developer: jille@hexon.cx

Index: main/output.c
===================================================================
--- main/output.c	(revision 71)
+++ main/output.c	(working copy)
@@ -197,7 +197,7 @@
 		return;
 	}
 	status = 0;
-	if (!OG(active_ob_buffer).status & PHP_OUTPUT_HANDLER_START) {
+	if (!(OG(active_ob_buffer).status & PHP_OUTPUT_HANDLER_START)) {
 		/* our first call */
 		status |= PHP_OUTPUT_HANDLER_START;
 	}
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 23:01:28 2024 UTC