We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6eed9eb commit c094d5dCopy full SHA for c094d5d
EmbedsManyBehavior.php
@@ -24,7 +24,7 @@ protected function setAttributes(array $attributes, $safeOnly = true)
24
foreach($attributes as $modelAttributes) {
25
$model = $this->createEmbedded($modelAttributes, $safeOnly);
26
$model->setFormName($this->getFormName($this->storage->getNextIndex()));
27
- $this->storage[] = $this->createEmbedded($modelAttributes, $safeOnly);
+ $this->storage[] = $model;
28
}
29
30
0 commit comments