Merge pull request #799 from debesha/master

Fixed bug with wrong form parsing when several custom inner types exist
This commit is contained in:
William Durand 2016-02-24 17:46:38 +01:00
commit dd6a5e32c3

View File

@ -263,6 +263,11 @@ class FormTypeParser implements ParserInterface
*/
$addDefault = false;
try {
if (isset($subForm)) {
unset($subForm);
}
if (LegacyFormHelper::hasBCBreaks()) {
try {
$subForm = $this->formFactory->create(get_class($type), null, $options);