Add test for Addon failures

This commit is contained in:
Philipp 2023-01-08 02:28:27 +01:00
parent 0429a4e429
commit 2293ff6206
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
3 changed files with 42 additions and 3 deletions

View file

@ -283,7 +283,7 @@ class Cache
$keys = array_keys($config[$category]);
foreach ($keys as $key) {
if (!isset($this->config[$category][$key])) {
if (!key_exists($key, $this->config[$category] ?? [])) {
$return[$category][$key] = $config[$category][$key];
}
}