Merge "Revert buggy MediaWiki UI change and dependent changes"
[lhc/web/wiklou.git] / includes / objectcache / MemcachedPeclBagOStuff.php
index 8700c8c..c853bcf 100644 (file)
@@ -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 );
        }