Fix ignored config merging when audit is present but ignored isnt
parent
c5baa37cdf
commit
7ffcaacd08
|
@ -212,7 +212,7 @@ class Config
|
|||
$currentIgnores = $this->config['audit']['ignored'];
|
||||
$this->config[$key] = $val;
|
||||
$this->setSourceOfConfigValue($val, $key, $source);
|
||||
$this->config['audit']['ignored'] = array_merge($currentIgnores, $val['ignored']);
|
||||
$this->config['audit']['ignored'] = array_merge($currentIgnores, $val['ignored'] ?? []);
|
||||
} else {
|
||||
$this->config[$key] = $val;
|
||||
$this->setSourceOfConfigValue($val, $key, $source);
|
||||
|
|
Loading…
Reference in New Issue