From 098b1bb3ff77c41960b7502ac7d73fe827e6451b Mon Sep 17 00:00:00 2001 From: eileen Date: Mon, 20 May 2019 15:01:24 +1200 Subject: [PATCH] Remove reference symbol from 2 variables I checked & these are not altered in the function - so no need --- CRM/Contact/BAO/Contact.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Contact/BAO/Contact.php b/CRM/Contact/BAO/Contact.php index 7280f6d5c7..5a22a86d78 100644 --- a/CRM/Contact/BAO/Contact.php +++ b/CRM/Contact/BAO/Contact.php @@ -1736,7 +1736,7 @@ WHERE civicrm_contact.id = " . CRM_Utils_Type::escape($id, 'Integer'); * @return array * Contact details */ - public static function getHierContactDetails($contactId, &$fields) { + public static function getHierContactDetails($contactId, $fields) { $params = array(array('contact_id', '=', $contactId, 0, 0)); $options = array(); @@ -2073,7 +2073,7 @@ ORDER BY civicrm_email.is_primary DESC"; */ public static function formatProfileContactParams( &$params, - &$fields, + $fields, $contactID = NULL, $ufGroupId = NULL, $ctype = NULL, -- 2.25.1