Details
-
Type: Patch
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.4.6, 4.0.6
-
Fix Version/s: 4.1.0
-
Component/s: CiviCRM API, Core CiviCRM
-
Labels:None
Description
This patch solves the problem of null and empty values being rejected by the custom_value api because they are not the right data type.
You may want to consider moving this functionality to a more central place such as CRM_Utils_Type::escape, but not knowing the possible repercussions of that, I chose to add it here where the problem is occurring.