Skip to content

Commit

Permalink
Merge branch '4' into 5
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 23, 2024
2 parents 7ab370a + 4bd3542 commit c889ec1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BulkUploader/BulkUploadHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ protected function createDataObject($fileID)
$record = $recordClass::create();
$record->write();

$record->extend('onBulkUpload', $this->gridField);
$record->extend('onBulkUpload', $this->gridField, $fileID, $record);

$fileRelationName = $this->component->getFileRelationName($this->gridField);
$record->{"{$fileRelationName}ID"} = $fileID;
Expand Down

0 comments on commit c889ec1

Please sign in to comment.