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:
07b376f
)
(bug 1039) mCache may not be an array if cache failures are happening, so check befor...
author
Brion Vibber
<brion@users.mediawiki.org>
Wed, 8 Dec 2004 17:43:09 +0000
(17:43 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Wed, 8 Dec 2004 17:43:09 +0000
(17:43 +0000)
includes/MessageCache.php
patch
|
blob
|
history
diff --git
a/includes/MessageCache.php
b/includes/MessageCache.php
index
8f0fd46
..
8d868ec
100755
(executable)
--- a/
includes/MessageCache.php
+++ b/
includes/MessageCache.php
@@
-230,7
+230,7
@@
class MessageCache
}
# Try the cache
- if( $this->mUseCache &&
$this->mCache
&& array_key_exists( $title, $this->mCache ) ) {
+ if( $this->mUseCache &&
is_array( $this->mCache )
&& array_key_exists( $title, $this->mCache ) ) {
$message = $this->mCache[$title];
}