From dc7a41cb6b5037ca532c78920983fef16f931424 Mon Sep 17 00:00:00 2001 From: Elliott Eggleston Date: Thu, 25 Aug 2016 15:17:07 -0400 Subject: [PATCH] Fix undefined index notices in merge --- CRM/Dedupe/Merger.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Dedupe/Merger.php b/CRM/Dedupe/Merger.php index ed55c653fc..a286b2115f 100644 --- a/CRM/Dedupe/Merger.php +++ b/CRM/Dedupe/Merger.php @@ -963,7 +963,7 @@ INNER JOIN civicrm_membership membership2 ON membership1.membership_type_id = m if (in_array($field, $keysToIgnore)) { continue; } - if (!empty($value) && $mainAddress[$field] != $value) { + if (!empty($value) && isset($mainAddress[$field]) && $mainAddress[$field] != $value) { return FALSE; } } -- 2.25.1