Skip to content

Commit 8fc0674

Browse files
committed
Re-enable saving array values
1 parent 2045f34 commit 8fc0674

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Form/Action/SaveAction.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function execute(FormRepository $formRepository, array $value): void
3131

3232
if (is_array($propertyValue)) {
3333
// @todo: Fix this because it breaks a lot of logic
34-
continue;
34+
//continue;
3535
}
3636

3737
$this->setItemPropertyValue($item, $propertyKey, $propertyValue);
@@ -49,6 +49,7 @@ public function execute(FormRepository $formRepository, array $value): void
4949
private function setItemPropertyValue(DataObject $item, $propertyName, $propertyValue): void
5050
{
5151
$propertyMethod = 'set'.ucfirst($this->camelCaseConvertor->toCamelCase($propertyName));
52+
5253
call_user_func([$item, $propertyMethod], $propertyValue);
5354
}
5455
}

0 commit comments

Comments
 (0)