diff --git a/CRM/Contact/BAO/Contact.php b/CRM/Contact/BAO/Contact.php index 7280f6d5c75b..5a22a86d7850 100644 --- a/CRM/Contact/BAO/Contact.php +++ b/CRM/Contact/BAO/Contact.php @@ -1736,7 +1736,7 @@ public static function &exportableFields($contactType = 'Individual', $status = * @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 @@ public static function createProfileContact( */ public static function formatProfileContactParams( &$params, - &$fields, + $fields, $contactID = NULL, $ufGroupId = NULL, $ctype = NULL,