From: Tim Starling Date: Sat, 23 Oct 2004 08:23:13 +0000 (+0000) Subject: correcting for what was probably an odd one-off error X-Git-Tag: 1.5.0alpha1~1493 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=97dc6c150ce8857e8acd5d0f27a08e760c3ce42b;p=lhc%2Fweb%2Fwiklou.git correcting for what was probably an odd one-off error --- 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();