From: Andrew Nicols Date: Tue, 15 Sep 2020 03:46:31 +0000 (+0800) Subject: MDL-42012 cache: Fix missing return value X-Git-Url: http://git.moodle.org/gw?p=moodle.git;a=commitdiff_plain;h=1c4b3ee262932d470c4b06d9453e18febad50883 MDL-42012 cache: Fix missing return value --- 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)); } /**