mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-58658 caching: Fix static acceleration for empty arrays
This commit is contained in:
parent
6d14355ce8
commit
32ec2da151
2
cache/classes/loaders.php
vendored
2
cache/classes/loaders.php
vendored
@ -1077,7 +1077,7 @@ class cache implements cache_loader {
|
||||
$result = $data;
|
||||
}
|
||||
}
|
||||
if ($result) {
|
||||
if ($result !== false) {
|
||||
if ($this->perfdebug) {
|
||||
cache_helper::record_cache_hit('** static acceleration **', $this->definition);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user