Skip to content
Browse files

fix for bulk upload

  • Loading branch information...
1 parent 88165be commit 1f1cdf64e5f7c7c2fadfed9ffdf30991a0344fb2 Wim Vandersmissen committed Dec 11, 2012
Showing with 9 additions and 8 deletions.
  1. +9 −8 Form/BulkUploadType.php
View
17 Form/BulkUploadType.php
@@ -26,15 +26,15 @@ public function __construct($accept = null)
$this->accept = $accept;
}
- /**
- * Builds the form.
- *
- * This method is called for each type in the hierarchy starting form the
- * top most type. Type extensions can further modify the form.
- * @param FormBuilderInterface $builder The form builder
+ /**
+ * Builds the form.
+ *
+ * This method is called for each type in the hierarchy starting form the
+ * top most type. Type extensions can further modify the form.
+ * @param FormBuilderInterface $builder The form builder
* @param array $options The options
*
- * @see FormTypeExtensionInterface::buildForm()
+ * @see FormTypeExtensionInterface::buildForm()
*/
public function buildForm(FormBuilderInterface $builder, array $options)
{
@@ -43,7 +43,8 @@ public function buildForm(FormBuilderInterface $builder, array $options)
"attr" => array(
"accept" => $this->accept,
"multiple" => "multiple",
- )
+ ),
+ 'data_class' => null
)
);
}

0 comments on commit 1f1cdf6

Please sign in to comment.
Something went wrong with that request. Please try again.