Commit 243c2f45 authored by Josh Waihi's avatar Josh Waihi Committed by Jeremy

Issue #2415109 by Josh Waihi: PHP Fatal error: Cannot pass parameter 2 by...

Issue #2415109 by Josh Waihi: PHP Fatal error: Cannot pass parameter 2 by reference in /sites/all/modules/contrib/memcache/dmemcache.inc on line 375
parent 05c5f375
......@@ -372,7 +372,8 @@ function dmemcache_get_multi($keys, $bin = 'cache', $mc = NULL) {
$results = array();
if ($mc || ($mc = dmemcache_object($bin))) {
if ($mc instanceof Memcached) {
$results = $mc->getMulti($full_keys, NULL, Memcached::GET_PRESERVE_ORDER);
$null = NULL;
$results = $mc->getMulti($full_keys, $null, Memcached::GET_PRESERVE_ORDER);
}
elseif ($mc instanceof Memcache) {
$track_errors = ini_set('track_errors', '1');
......
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