Skip to content

Commit

Permalink
Revert "Filter out null values to prevent them being saved to the tree."
Browse files Browse the repository at this point in the history
This reverts commit 5d7e991.
  • Loading branch information
duncanmcclean committed Dec 17, 2024
1 parent 5d7e991 commit ab222c0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ private function updateData(array $data, Blueprint $blueprint)
->addValues($branch['values'] ?? [])
->process()
->values()
->only($branch['localizedFields'] ?? [])
->filter();
->only($branch['localizedFields'] ?? []);

if ($branch['new'] ?? false) {
$newId = BranchIdGenerator::generate();
Expand Down

0 comments on commit ab222c0

Please sign in to comment.