浏览代码

Fixing extensions exclusion for given admin

Hugo Briand 12 年之前
父节点
当前提交
2cd44521d7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      DependencyInjection/Compiler/ExtensionCompilerPass.php

+ 1 - 1
DependencyInjection/Compiler/ExtensionCompilerPass.php

@@ -106,7 +106,7 @@ class ExtensionCompilerPass implements CompilerPassInterface
         }
 
         if(isset($excludes[$id])){
-            $extensions = array_diff($extensions, $excludes);
+            $extensions = array_diff($extensions, $excludes[$id]);
         }
         return $extensions;
     }