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
When calling civicrm_location_delete the following error appears:
Fatal error: Class 'CRM_Core_BAO_Location' not found in (...)/drupal/modules/civicrm/api/v2/Location.php on line 355
The fix is to add the following after line 346 in api/v2/Location.php:
require_once 'CRM/Core/BAO/Location.php';
This change works on my 2.04 installation.