Commit 9f790ca9 authored by Jeremy's avatar Jeremy

Bug #788436: Remove accidental pass-by-reference from getMultiple. Patch thanks to Catch.

parent dbbeb916
......@@ -16,7 +16,7 @@ class MemCacheDrupal implements DrupalCacheInterface {
function getMultiple(&$cids) {
$results = dmemcache_get_multi(&$cids, $this->bin, $this->memcache);
$results = dmemcache_get_multi($cids, $this->bin, $this->memcache);
foreach ($results as $cid => $result) {
if (!$this->valid($cid, $result)) {
// This object has expired, so don't return it.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment