소스 검색

Fixed the Notice Error : Undefined variable

gnoMii 14 년 전
부모
커밋
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);
 
-        $groups = $admins = $classes = array();
+        $groups = $groupDefaults = $admins = $classes = array();
 
         $pool = $container->getDefinition('sonata.admin.pool');