bug fix
authorTim Starling <tstarling@users.mediawiki.org>
Fri, 4 Jun 2004 12:31:32 +0000 (12:31 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Fri, 4 Jun 2004 12:31:32 +0000 (12:31 +0000)
includes/ParserCache.php

index 9b828b0..8634a3b 100644 (file)
@@ -25,6 +25,7 @@ class ParserCache
                        # Delete if article has changed since the cache was made
                        $canCache = $article->checkTouched();
                        $cacheTime = $value->getCacheTime();
+                       $touched = $article->mTouched;
                        if ( !$canCache || $value->getCacheTime() <= $touched || $cacheTime < $wgCacheEpoch ) {
                                if ( !$canCache ) {
                                        wfDebug( "Invalid cached redirect, touched $touched, epoch $wgCacheEpoch, cached $cacheTime\n" );