backwards arguments are deprecated
authordemeritcowboy <demeritcowboy@hotmail.com>
Sun, 10 Jan 2021 12:26:41 +0000 (07:26 -0500)
committerdemeritcowboy <demeritcowboy@hotmail.com>
Sun, 10 Jan 2021 12:26:41 +0000 (07:26 -0500)
api/v3/Profile.php

index 59563c177307af2444b9e25383b6c71a4d770b73..c14b4b6c84d5cc7e64b165a2247d00504a0d7d1b 100644 (file)
@@ -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),
   ]
   );