CRM-8925 Fix fatal error with custom Country and StateProvince

    Details

    • Type: Patch
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.4.5
    • Fix Version/s: 3.4.6
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      When submitting data to CRM_Core_BAO_CustomValueTable::setValues() it would throw a fatal error if one of the fields was type state or country. I finally tracked this to CRM_Utils_Type::escape() which was not aware of those data types. This patch adds them, using the same rule as positive integer. This may not be the totally correct solution, but it does fix the problem.

      See: http://drupal.org/node/1246964

        Attachments

          Activity

          [CRM-8925] Fix fatal error with custom Country and StateProvince
          There are no comments yet on this issue.

            People

            • Assignee:
              Donald A. Lobo
              Reporter:
              Coleman Watts

              Dates

              • Created:
                Updated:
                Resolved: