Merge pull request #21316 from colemanw/afformGet
[civicrm-core.git] / CRM / Contact / Import / Parser / Contact.php
index 70da80437072187982e4246b97210f369b22ea8a..bc5c30579728fbd7e01c41430fb7d213913679a7 100644 (file)
@@ -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);