Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 2.0, 2.1
-
Component/s: Core CiviCRM
-
Labels:None
Description
Fatal error: Class 'CRM_Contact_BAO_Contact' not found in /home/democrats/www/sites/all/modules/civicrm/CRM/Core/BAO/UFMatch.php on line 343
should be:
//check if the primary email for the contact exists
//$contactDetails[1] - email
//$contactDetails[3] - email id
require_once('CRM/Contact/BAO/Contact.php');
$contactDetails = CRM_Contact_BAO_Contact::getEmailDetails( $contactId );