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

api/v2/CustomGroup.php function civicrm_custom_group_create(...) requires CRM_Utils_String::munge which is not included

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      The function civicrm_custom_group_create(...) uses the method CRM_Utils_String::munge(...) which is not included.

      This results in the following error message:
      Fatal error: Class 'CRM_Utils_String' not found in C:\wamp\www\drupal-5.7\sites\all\modules\civicrm\api\v2\CustomGroup.php on line 89

      This can be fixed by inserting:
      require_once "CRM/Utils/String.php";
      at line 86 just before the function call is made.

      This applies to version 2.0.2 Drupal PHP5 in particular

        Attachments

          Activity

            People

            • Assignee:
              manish Manish Zope
              Reporter:
              dougall Dougall Winship
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: