Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. 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

            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: