X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FOutputPage.php;h=35b2f385802c5ea77f639be806cf6b8fc7fd6660;hb=bbffc62c58972a34ee617ce135e37ec936272341;hp=560588f43db1285d4150ca3360aec3e6e6e546f0;hpb=2f3004af8e5b58c549f63c818b22fae5c631013a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 560588f43d..35b2f38580 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -1739,7 +1739,7 @@ class OutputPage extends ContextSource { $headers = array(); foreach( $this->mVaryHeader as $header => $option ) { $newheader = $header; - if( is_array( $option ) ) { + if ( is_array( $option ) && count( $option ) > 0 ) { $newheader .= ';' . implode( ';', $option ); } $headers[] = $newheader;