X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FDedupe%2FMerger.php;h=5c4df7f318135f5854d0d16aa94e306b32fcb47b;hb=0709aeed842fd3e4711f65a5bf1cc7ecddff62f6;hp=152273f9926ea43e7b5ac6f79ed844558d5748eb;hpb=d4599d23ec2d057a99519f3a096996e36cbe870e;p=civicrm-core.git diff --git a/CRM/Dedupe/Merger.php b/CRM/Dedupe/Merger.php index 152273f992..5c4df7f318 100644 --- a/CRM/Dedupe/Merger.php +++ b/CRM/Dedupe/Merger.php @@ -2750,6 +2750,7 @@ INNER JOIN civicrm_membership membership2 ON membership1.membership_type_id = m // Add this value to the table rows $rows["move_location_{$blockName}_{$count}"]['other'] = $displayValue; + $rows["move_location_{$blockName}_{$count}"]['location_entity'] = $blockName; // CRM-17556 Only display 'main' contact value if it's the same location + type // Look it up from main values... @@ -2777,7 +2778,6 @@ INNER JOIN civicrm_membership membership2 ON membership1.membership_type_id = m // Set this value as the default against the 'other' contact value $rows["move_location_{$blockName}_{$count}"]['main'] = $mainValueCheck[$blockInfo['displayField']]; $rows["move_location_{$blockName}_{$count}"]['main_is_primary'] = $mainValueCheck['is_primary'] ?? 0; - $rows["move_location_{$blockName}_{$count}"]['location_entity'] = $blockName; $mainContactBlockId = $mainValueCheck['id']; break; }