Prechádzať zdrojové kódy

Fixed the Notice Error : Undefined variable

gnoMii 14 rokov pred
rodič
commit
5d8ab42a22

+ 1 - 1
DependencyInjection/Compiler/AddDependencyCallsCompilerPass.php

@@ -34,7 +34,7 @@ class AddDependencyCallsCompilerPass implements CompilerPassInterface
     {
     {
         $settings = $this->fixSettings($container);
         $settings = $this->fixSettings($container);
 
 
-        $groups = $admins = $classes = array();
+        $groups = $groupDefaults = $admins = $classes = array();
 
 
         $pool = $container->getDefinition('sonata.admin.pool');
         $pool = $container->getDefinition('sonata.admin.pool');