Index: trunk/phase3/includes/ResourceLoader.php |
— | — | @@ -293,7 +293,7 @@ |
294 | 294 | |
295 | 295 | // If there's an If-Modified-Since header, respond with a 304 appropriately |
296 | 296 | $ims = $context->getRequest()->getHeader( 'If-Modified-Since' ); |
297 | | - if ( $ims !== false && $mtime >= wfTimestamp( TS_UNIX, $ims ) ) { |
| 297 | + if ( $ims !== false && $mtime <= wfTimestamp( TS_UNIX, $ims ) ) { |
298 | 298 | header( 'HTTP/1.0 304 Not Modified' ); |
299 | 299 | header( 'Status: 304 Not Modified' ); |
300 | 300 | wfProfileOut( __METHOD__ ); |