From 1c4b3ee262932d470c4b06d9453e18febad50883 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Tue, 15 Sep 2020 11:46:31 +0800 Subject: [PATCH] MDL-42012 cache: Fix missing return value --- cache/disabledlib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } /** -- 2.43.0