Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-13156

CRM_Core_BAO_EntityTag::getEntitiesByTag enumerates for incorrect field

    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().

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              disaacs David
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: