Index: trunk/phase3/includes/OutputPage.php |
— | — | @@ -1275,7 +1275,7 @@ |
1276 | 1276 | $cvCookies = $this->getCacheVaryCookies(); |
1277 | 1277 | foreach ( $cvCookies as $cookieName ) { |
1278 | 1278 | # Check for a simple string match, like the way squid does it |
1279 | | - if ( strpos( $cookieHeader, $cookieName ) ) { |
| 1279 | + if ( strpos( $cookieHeader, $cookieName ) !== false ) { |
1280 | 1280 | wfDebug( __METHOD__ . ": found $cookieName\n" ); |
1281 | 1281 | return true; |
1282 | 1282 | } |