瀏覽代碼

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);
 
-        $groups = $admins = $classes = array();
+        $groups = $groupDefaults = $admins = $classes = array();
 
         $pool = $container->getDefinition('sonata.admin.pool');