Преглед на файлове

Fixed the Notice Error : Undefined variable

gnoMii преди 13 години
родител
ревизия
5d8ab42a22
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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');