From: Michael McAndrew Date: Mon, 30 Aug 2021 14:59:30 +0000 (+0100) Subject: better target multivalue checkbox and multiselect import validation X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6089dbf499b65d1461681252201110790a8f329a;p=civicrm-core.git better target multivalue checkbox and multiselect import validation --- diff --git a/CRM/Contact/Import/Parser/Contact.php b/CRM/Contact/Import/Parser/Contact.php index 70da804370..bc5c305797 100644 --- a/CRM/Contact/Import/Parser/Contact.php +++ b/CRM/Contact/Import/Parser/Contact.php @@ -1068,7 +1068,7 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser { } // check for values for custom fields for checkboxes and multiselect - if ($isSerialized) { + if ($isSerialized && $dataType != 'ContactReference') { $value = trim($value); $value = str_replace('|', ',', $value); $mulValues = explode(',', $value);