diff --git a/DependencyInjection/CmfCoreExtension.php b/DependencyInjection/CmfCoreExtension.php index bac9a1ac..3e316d7e 100644 --- a/DependencyInjection/CmfCoreExtension.php +++ b/DependencyInjection/CmfCoreExtension.php @@ -184,7 +184,9 @@ public function prepend(ContainerBuilder $container) 'enabled' => $persistenceConfig['enabled'], ), ), - 'sonata_admin_extension' => $persistenceConfig['use_sonata_admin'], + 'sonata_admin_extension' => array( + 'enabled' => $persistenceConfig['use_sonata_admin'], + ), ); break; } @@ -228,7 +230,9 @@ public function prepend(ContainerBuilder $container) 'enabled' => $persistenceConfig['enabled'], ), ), - 'sonata_admin_extension' => $persistenceConfig['use_sonata_admin'], + 'sonata_admin_extension' => array( + 'enabled' => $persistenceConfig['use_sonata_admin'], + ), ); break; }