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

CRM/Dedup/Merger.php does not merge all main and other custom field array keys

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Critical
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.0.3
    • Fix Version/s: 3.0.4
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      CRM/Dedup/Merger.php does not merge all main and other custom field array keys

      The code below does not properly merge the array keys, the resulting $keys array will be the size of the largest of either $mainEvs or $otherEvs, usually resulting in some custom field keys missing.

      $keys = array_keys($mainEvs) + array_keys($otherEvs);

      Patch attached.

        Attachments

          Activity

            People

            • Assignee:
              shot Piotr Szotkowski
              Reporter:
              glnielsen Glenn Nielsen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: