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