From e4f09afec62d8f227ada8d3e901ec615ff2e6c73 Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Sun, 10 Jan 2021 07:26:41 -0500 Subject: [PATCH] backwards arguments are deprecated --- api/v3/Profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v3/Profile.php b/api/v3/Profile.php index 59563c1773..c14b4b6c84 100644 --- a/api/v3/Profile.php +++ b/api/v3/Profile.php @@ -430,7 +430,7 @@ function _civicrm_api3_profile_getbillingpseudoprofile(&$params) { 'api.address.get.2' => ['is_billing' => TRUE, 'return' => $addressFields], 'api.email.get.1' => ['location_type_id' => 'Billing'], 'api.email.get.2' => ['is_billing' => TRUE], - 'return' => 'api.email.get, api.address.get, api.address.getoptions, country, state_province, email, first_name, last_name, middle_name, ' . implode($addressFields, ','), + 'return' => 'api.email.get, api.address.get, api.address.getoptions, country, state_province, email, first_name, last_name, middle_name, ' . implode(',', $addressFields), ] ); -- 2.25.1