Skip to content

Commit

Permalink
Filter out null values when saving mappings (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean authored Nov 29, 2024
1 parent 8166556 commit c2044ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fieldtypes/ImportMappingsFieldtype.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function process($data): array
return null;
}

return $fields->addValues($values)->process()->values()->all();
return $fields->addValues($values)->process()->values()->filter()->all();
})
->filter()
->all();
Expand Down

0 comments on commit c2044ff

Please sign in to comment.