Allow empty json files to be merged into a config, fixes #3055
parent
f79b34c1df
commit
d9fe17443b
|
@ -90,7 +90,7 @@ class Config
|
||||||
*
|
*
|
||||||
* @param array $config
|
* @param array $config
|
||||||
*/
|
*/
|
||||||
public function merge(array $config)
|
public function merge($config)
|
||||||
{
|
{
|
||||||
// override defaults with given config
|
// override defaults with given config
|
||||||
if (!empty($config['config']) && is_array($config['config'])) {
|
if (!empty($config['config']) && is_array($config['config'])) {
|
||||||
|
|
Loading…
Reference in New Issue