Skip to content

Commit

Permalink
Merge pull request #21317 from michaelmcandrew/dev-core-2797
Browse files Browse the repository at this point in the history
better target multivalue checkbox and multiselect import validation
  • Loading branch information
colemanw authored Aug 30, 2021
2 parents 3753c95 + 6089dbf commit 63da364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Contact/Import/Parser/Contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 63da364

Please sign in to comment.