Kaynağa Gözat

Fixed the Notice Error : Undefined variable

gnoMii 13 yıl önce
ebeveyn
işleme
5d8ab42a22

+ 1 - 1
DependencyInjection/Compiler/AddDependencyCallsCompilerPass.php

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