Skip to content

Commit

Permalink
Do not pass int form keys, cast them to string instead
Browse files Browse the repository at this point in the history
  • Loading branch information
pamil committed Jan 21, 2021
1 parent a74f084 commit a32efb3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
continue;
}

$key = (string) $key;
$newKey = $this->getUniqueKey();
$fixedData[$newKey] = $this->resolveValues($values);

Expand Down

0 comments on commit a32efb3

Please sign in to comment.