diff --git a/cache/disabledlib.php b/cache/disabledlib.php index 0a2d7965445..88af42d9f99 100644 --- a/cache/disabledlib.php +++ b/cache/disabledlib.php @@ -84,7 +84,7 @@ class cache_disabled extends cache { return $this->get_datasource()->load_many_for_cache($keys); } - return $return; + return array_combine($keys, array_fill(0, count($keys), false)); } /**