projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3753c95
)
better target multivalue checkbox and multiselect import validation
author
Michael McAndrew
<michael@3sd.io>
Mon, 30 Aug 2021 14:59:30 +0000
(15:59 +0100)
committer
Michael McAndrew
<michael@3sd.io>
Mon, 30 Aug 2021 14:59:30 +0000
(15:59 +0100)
CRM/Contact/Import/Parser/Contact.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/Import/Parser/Contact.php
b/CRM/Contact/Import/Parser/Contact.php
index 70da80437072187982e4246b97210f369b22ea8a..bc5c30579728fbd7e01c41430fb7d213913679a7 100644
(file)
--- 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);