Browse Source

Fixed the Notice Error : Undefined variable

gnoMii 13 years ago
parent
commit
5d8ab42a22
1 changed files with 1 additions and 1 deletions
  1. 1 1
      DependencyInjection/Compiler/AddDependencyCallsCompilerPass.php

+ 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');