Set replace flag for headers
authorAaron Schulz <aaron@users.mediawiki.org>
Wed, 27 Aug 2008 20:44:43 +0000 (20:44 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Wed, 27 Aug 2008 20:44:43 +0000 (20:44 +0000)
includes/GlobalFunctions.php

index dabe06d..9a4cd43 100644 (file)
@@ -1390,7 +1390,7 @@ function wfResetOutputBuffers( $resetGzipEncoding=true ) {
                        if( $status['name'] == 'ob_gzhandler' ) {
                                // Reset the 'Content-Encoding' field set by this handler
                                // so we can start fresh.
-                               header( 'Content-Encoding:' );
+                               header( 'Content-Encoding:', true );
                        }
                }
        }