Fix regression: typo caused 'Vary: Accept-Encoding' to be sent overwriting more exact...
[lhc/web/wiklou.git] / includes / OutputHandler.php
index b25cb4f..d7e7c90 100644 (file)
@@ -33,7 +33,7 @@ function wfGzipHandler( $s ) {
                        $foundVary = false;
                        foreach ( $headers as $header ) {
                                if ( substr( $header, 0, 5 ) == 'Vary:' ) {
-                                       $foundVary == true;
+                                       $foundVary = true;
                                        break;
                                }
                        }