Skip to content

Commit

Permalink
Fix SerializedArrayField hydration
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusklocke committed Feb 5, 2024
1 parent f870140 commit 31bf744
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ class SerializedArrayField extends Field
{
public function hydrate(array $row): array
{
return unserialize($row[$this->getName()]);
return json_decode($row[$this->getName()], true);
}
}

0 comments on commit 31bf744

Please sign in to comment.