Once we reset, no need to keep looping.
authorGreg Sabino Mullane <greg@users.mediawiki.org>
Thu, 28 Aug 2008 14:18:13 +0000 (14:18 +0000)
committerGreg Sabino Mullane <greg@users.mediawiki.org>
Thu, 28 Aug 2008 14:18:13 +0000 (14:18 +0000)
includes/GlobalFunctions.php

index 9a4cd43..49de9f1 100644 (file)
@@ -1391,6 +1391,7 @@ function wfResetOutputBuffers( $resetGzipEncoding=true ) {
                                // Reset the 'Content-Encoding' field set by this handler
                                // so we can start fresh.
                                header( 'Content-Encoding:', true );
+                               break;
                        }
                }
        }