forked from GNUsocial/gnu-social
[CONFIG][TESTS] Fix error found by AdminPanel test
This commit is contained in:
parent
4d3da08b1e
commit
141f919ca7
@ -51,7 +51,7 @@ abstract class Common
|
|||||||
{
|
{
|
||||||
$components = $config->has('components') ? $config->get('components') : [];
|
$components = $config->has('components') ? $config->get('components') : [];
|
||||||
$plugins = $config->has('plugins') ? $config->get('plugins') : [];
|
$plugins = $config->has('plugins') ? $config->get('plugins') : [];
|
||||||
self::$config = array_merge($config->get('gnusocial'), ['components' => $components], ['plugins' => $plugins]);
|
self::$config = array_merge_recursive($config->get('gnusocial'), ['components' => $components], ['plugins' => $plugins]);
|
||||||
self::$defaults = $config->get('gnusocial_defaults');
|
self::$defaults = $config->get('gnusocial_defaults');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user