forked from GNUsocial/gnu-social
		
	[CONFIG][CORE] Fix bug in overriding default config
This commit is contained in:
		@@ -255,7 +255,7 @@ class GNUsocial implements EventSubscriberInterface
 | 
				
			|||||||
            $wrapper = $container->hasParameter($to) ? $container->getParameter($to) : [];
 | 
					            $wrapper = $container->hasParameter($to) ? $container->getParameter($to) : [];
 | 
				
			||||||
            $content = [$from => $container->getParameter($from)];
 | 
					            $content = [$from => $container->getParameter($from)];
 | 
				
			||||||
            $container->getParameterBag()->remove($from);
 | 
					            $container->getParameterBag()->remove($from);
 | 
				
			||||||
            $locals  = isset($locals[$from]) ? [$from => $locals[$from]] : [];
 | 
					            $locals  = $locals[$from] ?? [];
 | 
				
			||||||
            $configs = array_replace_recursive($wrapper, $content, $locals);
 | 
					            $configs = array_replace_recursive($wrapper, $content, $locals);
 | 
				
			||||||
            $container->setParameter($to, $configs);
 | 
					            $container->setParameter($to, $configs);
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user