瀏覽代碼

Fix allowed type

Thomas Rabaix 12 年之前
父節點
當前提交
6bc9128445
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Block/AdminListBlockService.php

+ 1 - 1
Block/AdminListBlockService.php

@@ -102,7 +102,7 @@ class AdminListBlockService extends BaseBlockService
         ));
 
         $resolver->setAllowedTypes(array(
-            'groups' => array('bool')
+            'groups' => array('bool', 'array')
         ));
     }
 }