Skip to content
This repository has been archived by the owner on Sep 30, 2021. It is now read-only.

Commit

Permalink
https://github.com/sonata-project/SonataCoreBundle/issues/210
Browse files Browse the repository at this point in the history
  • Loading branch information
imilyukov committed Nov 20, 2015
1 parent 4142879 commit 61fb264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Form/Type/DoctrineORMSerializationType.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public function buildForm(FormBuilderInterface $builder, array $options)
continue;
}

if (!in_array($this->group, $propertyMetadata->groups)) {
if (!$propertyMetadata->groups || !in_array($this->group, $propertyMetadata->groups)) {
continue;
}

Expand Down

0 comments on commit 61fb264

Please sign in to comment.