Skip to content

Commit fd6472d

Browse files
Revert "[8.x] Fix attributes returning a collection instead of an array (#654)"
This reverts commit 9a6a3d5.
1 parent 9f21756 commit fd6472d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/Controllers/CP/Traits/ExtractsFromModelFields.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ protected function extractFromFields(Model $model, Resource $resource, Blueprint
1717
$fields = $blueprint
1818
->fields()
1919
->setParent($model)
20-
->addValues($values->toArray())
20+
->addValues($values->all())
2121
->preProcess();
2222

2323
$values = $fields->values()->merge([

0 commit comments

Comments
 (0)