- // No plugins or no value means do not set.
- if ($plugins && !is_null($value)) {
- $row->setDestinationProperty($destination, $value);
+ // Ensure all values, including nulls, are migrated.
+ if ($plugins) {
+ if (isset($value)) {
+ $row->setDestinationProperty($destination, $value);
+ }
+ else {
+ $row->setEmptyDestinationProperty($destination);
+ }