Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 1.7, 1.8
-
Fix Version/s: 1.8
-
Component/s: Core CiviCRM
-
Labels:None
Description
The file civicrm/api/utils.php makes a call to CRM_Utils_String::strtobool when updating "Yes or No" custom fields but there is an error about the class not found.
I fixed my own copy (v1.7.10272) by adding this at the top:
require_once 'CRM/Utils/String.php';
The same problem appears to exist in the 1.8 code also.