浏览代码

Merge pull request #2915 from wcluijt/patch-2

Updated ChoiceType to use array syntax that works with PHP 5.3
Andrej Hudec 10 年之前
父节点
当前提交
07f8211d77
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Form/Type/Filter/ChoiceType.php

+ 1 - 1
Form/Type/Filter/ChoiceType.php

@@ -77,7 +77,7 @@ class ChoiceType extends AbstractType
             'field_type'       => 'choice',
             'field_options'    => array(),
             'operator_type'    => 'choice',
-            'operator_options' => [],
+            'operator_options' => array(),
         ));
     }
 }