Skip to content

Commit

Permalink
Small fix for form type (compatibility with previous versions of symf…
Browse files Browse the repository at this point in the history
…ony 2.8 and 3)
  • Loading branch information
vihuvac committed Sep 29, 2016
1 parent de87e22 commit 868ce77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Form/Type/VihuvacRecaptchaType.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public function configureOptions(OptionsResolver $resolver)
*/
public function getParent()
{
return TextType::class;
return TextType::class ? "form" : "text";
}

/**
Expand Down

0 comments on commit 868ce77

Please sign in to comment.