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:
d03da57
)
CRM-17493 - fix import of checkbox'ed data
author
Jamie McClelland
<jm@mayfirst.org>
Tue, 10 Nov 2015 18:20:42 +0000
(13:20 -0500)
committer
Jamie McClelland
<jm@mayfirst.org>
Tue, 10 Nov 2015 18:20:42 +0000
(13:20 -0500)
Avoid incorrect validation error.
CRM/Utils/DeprecatedUtils.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/DeprecatedUtils.php
b/CRM/Utils/DeprecatedUtils.php
index 5d3ae2552fe69a9682056ce8298dc898cbe8446c..cf1ebe7b9c76d45cdb6baa5ca8ac0e8d525d633f 100644
(file)
--- a/
CRM/Utils/DeprecatedUtils.php
+++ b/
CRM/Utils/DeprecatedUtils.php
@@
-76,12
+76,7
@@
function _civicrm_api3_deprecated_participant_formatted_param($params, &$values,
if ((strtolower(trim($customLabel['label'])) == strtolower(trim($v1))) ||
(strtolower(trim($customValue)) == strtolower(trim($v1)))
) {
- if ($type == 'CheckBox') {
- $values[$key][$customValue] = 1;
- }
- else {
- $values[$key][] = $customValue;
- }
+ $values[$key][] = $customValue;
}
}
}