dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f3b51d
)
correcting for what was probably an odd one-off error
author
Tim Starling
<tstarling@users.mediawiki.org>
Sat, 23 Oct 2004 08:23:13 +0000
(08:23 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Sat, 23 Oct 2004 08:23:13 +0000
(08:23 +0000)
includes/ParserCache.php
patch
|
blob
|
history
diff --git
a/includes/ParserCache.php
b/includes/ParserCache.php
index
23349a8
..
cbd33f7
100644
(file)
--- 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();