dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Revert buggy MediaWiki UI change and dependent changes"
[lhc/web/wiklou.git]
/
includes
/
objectcache
/
MemcachedPeclBagOStuff.php
diff --git
a/includes/objectcache/MemcachedPeclBagOStuff.php
b/includes/objectcache/MemcachedPeclBagOStuff.php
index
8700c8c
..
c853bcf
100644
(file)
--- a/
includes/objectcache/MemcachedPeclBagOStuff.php
+++ b/
includes/objectcache/MemcachedPeclBagOStuff.php
@@
-247,6
+247,7
@@
class MemcachedPeclBagOStuff extends MemcachedBagOStuff {
$callback = array( $this, 'encodeKey' );
$result = $this->client->getMulti( array_map( $callback, $keys ) );
wfProfileOut( __METHOD__ );
+ $result = $result ?: array(); // must be an array
return $this->checkResult( false, $result );
}