Fixed bugs came with 2.1 BETA3 upgrade
ForumPostType had a hidden field with a DateTime data, which could not be rendered Security authentication success handler could not run
This commit is contained in:
@@ -17,10 +17,6 @@ class ForumPostType extends AbstractType
|
||||
|
||||
public function buildForm(FormBuilderInterface $builder, array $options)
|
||||
{
|
||||
$builder->add('createdAt', 'hidden', array(
|
||||
'label' => 'Időpont',
|
||||
'data' => new \DateTime('now')
|
||||
));
|
||||
$builder->add('text', null, array(
|
||||
'label' => ' ',
|
||||
));
|
||||
|
Reference in New Issue
Block a user