projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #14976 from eileenmcnaughton/import
[civicrm-core.git]
/
CRM
/
Event
/
BAO
/
Event.php
diff --git
a/CRM/Event/BAO/Event.php
b/CRM/Event/BAO/Event.php
index ab90197b4b61693263de73b2e447a5f731ad74f6..cf52a5f32cc057dad9088c673c292575837c5b2d 100644
(file)
--- a/
CRM/Event/BAO/Event.php
+++ b/
CRM/Event/BAO/Event.php
@@
-1646,6
+1646,10
@@
WHERE id = $cfID
}
$skip = TRUE;
}
+ // for checkboxes, change array of [key => bool] to array of [idx => key]
+ elseif ($dao->html_type == 'CheckBox') {
+ $customVal = array_keys(array_filter($params[$name]));
+ }
else {
$customVal = $params[$name];
}