From 97dc6c150ce8857e8acd5d0f27a08e760c3ce42b Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sat, 23 Oct 2004 08:23:13 +0000 Subject: [PATCH] correcting for what was probably an odd one-off error --- includes/ParserCache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/ParserCache.php b/includes/ParserCache.php index 23349a804a..cbd33f7622 100644 --- a/includes/ParserCache.php +++ b/includes/ParserCache.php @@ -28,7 +28,7 @@ class ParserCache $key = $this->getKey( $article, $user ); wfDebug( "Trying parser cache $key\n" ); $value = $wgMemc->get( $key ); - if ( $value ) { + if ( is_object( $value ) ) { wfDebug( "Found.\n" ); # Delete if article has changed since the cache was made $canCache = $article->checkTouched(); -- 2.20.1