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

Commit

Permalink
Merge pull request #211 from imilyukov/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
OskarStark committed Nov 20, 2015
2 parents 4142879 + 61fb264 commit abc144d
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 abc144d

Please sign in to comment.