Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.6.9
-
Fix Version/s: lts-possible, 4.7
-
Component/s: CiviCRM API, Core CiviCRM
-
Labels:
-
Documentation Required?:None
-
Funding Source:Contributed Code
Description
The api-explorer passes a single value for a multi-select-field as string. But CRM_Core_BAO_CustomField::formatCustomField expects values for multi-select-fields to be an array (or when merging contacts an already prepared string).
At least the value will be written to the database without any separators and that will lead to some problems when editing the entity.