minor fix
authorGabriel Wicke <gwicke@users.mediawiki.org>
Mon, 2 Feb 2004 04:33:48 +0000 (04:33 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Mon, 2 Feb 2004 04:33:48 +0000 (04:33 +0000)
includes/OutputPage.php

index 6237263..fc30087 100644 (file)
@@ -79,6 +79,7 @@ class OutputPage {
                        if( ($ismodsince >= $timestamp ) and $wgUser->validateCache( $ismodsince ) ) {
                                # Make sure you're in a place you can leave when you call us!
                                header( "HTTP/1.0 304 Not Modified" );
+                               $this->mLastModified = $lastmod;
                                $this->sendCacheControl();
                                wfDebug( "CACHED client: $ismodsince ; user: $wgUser->mTouched ; page: $timestamp\n", false );
                                $this->disable();