Fix Core\Config
Fix for adding a formatted array to an existing element
This commit is contained in:
parent
6ee99cdb89
commit
e9381eaccf
1 changed files with 4 additions and 1 deletions
|
@ -335,7 +335,10 @@ class Config
|
|||
) {
|
||||
$config[] = $value;
|
||||
} elseif (isset($config[$key])) {
|
||||
if ($this->isFormat($config[$key])) {
|
||||
if (
|
||||
$this->isFormat($config[$key])
|
||||
&& ! $this->isFormat($value)
|
||||
) {
|
||||
$config[$key]['value'] = $value;
|
||||
} else {
|
||||
$config[$key] = $value;
|
||||
|
|
Loading…
Reference in a new issue