Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-8966

Format null values correctly in CRM_Core_BAO_CustomValueTable::setValues()

    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.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              colemanw Coleman Watts
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: