From 6089dbf499b65d1461681252201110790a8f329a Mon Sep 17 00:00:00 2001 From: Michael McAndrew Date: Mon, 30 Aug 2021 15:59:30 +0100 Subject: [PATCH] better target multivalue checkbox and multiselect import validation --- CRM/Contact/Import/Parser/Contact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contact/Import/Parser/Contact.php b/CRM/Contact/Import/Parser/Contact.php index 70da80437072..bc5c30579728 100644 --- a/CRM/Contact/Import/Parser/Contact.php +++ b/CRM/Contact/Import/Parser/Contact.php @@ -1068,7 +1068,7 @@ public static function isErrorInCustomData($params, &$errorMessage, $csType = NU } // 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);