Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f7df72
)
MDL-42012 cache: Fix missing return value
author
Andrew Nicols
<andrew@nicols.co.uk>
Tue, 15 Sep 2020 03:46:31 +0000
(11:46 +0800)
committer
Andrew Nicols
<andrew@nicols.co.uk>
Tue, 15 Sep 2020 03:46:31 +0000
(11:46 +0800)
cache/disabledlib.php
patch
|
blob
|
blame
|
history
diff --git
a/cache/disabledlib.php
b/cache/disabledlib.php
index
0a2d796
..
88af42d
100644
(file)
--- 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))
;
}
/**