Skip to content

Commit

Permalink
FIX Don't pass null into ArrayList (#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored May 23, 2024
1 parent a55f48f commit 33621d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Form/MultiLinkField.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,6 @@ private function loadFrom(DataObject $record): void

public function LinkIDs(): ArrayList
{
return ArrayList::create($this->dataValue());
return ArrayList::create($this->dataValue() ?? []);
}
}

0 comments on commit 33621d0

Please sign in to comment.