diff --git a/modules/salesforce_mapping/src/SalesforceMappingFieldPluginBase.php b/modules/salesforce_mapping/src/SalesforceMappingFieldPluginBase.php index 6a3dd71b1d25218246ee4e4cc54caa4e0d17b865..ffa80bc7c171f419e88c9f1884f64b7eb965f459 100644 --- a/modules/salesforce_mapping/src/SalesforceMappingFieldPluginBase.php +++ b/modules/salesforce_mapping/src/SalesforceMappingFieldPluginBase.php @@ -295,7 +295,10 @@ abstract class SalesforceMappingFieldPluginBase extends PluginBase implements Sa break; case 'multipicklist': - if (!is_array($value)) { + if (empty($value)) { + $value = []; + } + if (is_string($value)) { $value = explode(';', $value); $value = array_map('trim', $value); }