소스 검색

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;
     }