We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent deeee8e commit 6d71ee8Copy full SHA for 6d71ee8
classes/cache_config.php
@@ -208,7 +208,7 @@ private function generate_store_instance_config(array $stores): array {
208
foreach ($stores as $name => $store) {
209
210
// First check that all the required fields are present in the store.
211
- if (!(array_key_exists('type', $store) ||
+ if (!(array_key_exists('type', $store) &&
212
array_key_exists('config', $store))) {
213
throw new cache_exception(get_string('store_missing_fields', 'tool_forcedcache', $name));
214
}
0 commit comments