From a4acf773798632903d5b1ddf9ccc929c7e314a5e Mon Sep 17 00:00:00 2001 From: eileen Date: Wed, 17 Mar 2021 09:28:42 +1300 Subject: [PATCH] Remove an unnecessary ampersand --- CRM/Contact/Import/Form/Preview.php | 2 +- CRM/Contact/Import/Parser/Contact.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Contact/Import/Form/Preview.php b/CRM/Contact/Import/Form/Preview.php index 77ddd7afa2..d25cd4f58e 100644 --- a/CRM/Contact/Import/Form/Preview.php +++ b/CRM/Contact/Import/Form/Preview.php @@ -423,7 +423,7 @@ class CRM_Contact_Import_Form_Preview extends CRM_Import_Form_Preview { ); // add the new contacts to selected groups - $contactIds = &$parser->getImportedContacts(); + $contactIds = $parser->getImportedContacts(); // add the new related contacts to selected groups $relatedContactIds = &$parser->getRelatedImportedContacts(); diff --git a/CRM/Contact/Import/Parser/Contact.php b/CRM/Contact/Import/Parser/Contact.php index b35004675b..75bbb421d3 100644 --- a/CRM/Contact/Import/Parser/Contact.php +++ b/CRM/Contact/Import/Parser/Contact.php @@ -979,7 +979,7 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser { * * @return array */ - public function &getImportedContacts() { + public function getImportedContacts() { return $this->_newContacts; } -- 2.25.1