diff --git a/Form/Doctrine/Type/AjaxEntityType.php b/Form/Doctrine/Type/AjaxEntityType.php index d0ee351f..aa308c99 100644 --- a/Form/Doctrine/Type/AjaxEntityType.php +++ b/Form/Doctrine/Type/AjaxEntityType.php @@ -49,7 +49,7 @@ public function getDefaultOptions(array $options) 'class' => null, 'property' => null, 'query_builder' => null, - 'choices' => array(), + 'choices' => null, 'ajax' => false );