diff --git a/src/app/Library/Uploaders/Support/Traits/HandleRepeatableUploads.php b/src/app/Library/Uploaders/Support/Traits/HandleRepeatableUploads.php index 20240bca37..858a519be1 100644 --- a/src/app/Library/Uploaders/Support/Traits/HandleRepeatableUploads.php +++ b/src/app/Library/Uploaders/Support/Traits/HandleRepeatableUploads.php @@ -62,7 +62,7 @@ protected function handleRepeatableFiles(Model $entry): Model return $this->processRelationshipRepeatableUploaders($entry); } - $processedEntryValues = $this->processRepeatableUploads($entry, $value); + $processedEntryValues = $this->processRepeatableUploads($entry, $value)->toArray(); if ($this->isFake()) { $fakeValues = $entry->{$this->getFakeAttribute()} ?? []; @@ -159,7 +159,7 @@ protected function processRepeatableUploads(Model $entry, Collection $values): C }); } - return $values->toArray(); + return $values; } private function retrieveRepeatableFiles(Model $entry): Model