Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.3.5
-
Fix Version/s: 4.3.6
-
Component/s: Core CiviCRM
-
Labels:None
Description
CRM_Core_BAO_EntityTag::getEntitiesByTag() calls, @280:
$contactIds[] = $entityTagDAO->contact_id;
on a CRM_Core_DAO_EntityTag object. The entity's ID is returned in the entity_id field not the contact_id field.
The line should be changed to
$contactIds[] = $entityTagDAO->entity_id;
This method is called only by APIv2 civicrm_tag_entities_get().