From 6d96182436dfd2496e2de38eaa74e9820c25e0f9 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Mon, 20 Jun 2022 17:47:22 +1200 Subject: [PATCH] Add related contacts to the group too, per prior version --- CRM/Contact/Import/Parser/Contact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contact/Import/Parser/Contact.php b/CRM/Contact/Import/Parser/Contact.php index 53f0e868cd..a0194c6088 100644 --- a/CRM/Contact/Import/Parser/Contact.php +++ b/CRM/Contact/Import/Parser/Contact.php @@ -208,7 +208,7 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Import_Parser { $extraFields['related_contact_matched']++; } } - $this->setImportStatus($rowNumber, $this->getStatus(CRM_Import_Parser::VALID), $this->getSuccessMessage(), $contactID, $extraFields, [$contactID]); + $this->setImportStatus($rowNumber, $this->getStatus(CRM_Import_Parser::VALID), $this->getSuccessMessage(), $contactID, $extraFields, array_merge(array_keys($relatedContacts), [$contactID])); return CRM_Import_Parser::VALID; } -- 2.25.1