From d4a47fc858dd527f454e9b304c924ff76bc42166 Mon Sep 17 00:00:00 2001 From: Debarshi Bhaumik Date: Mon, 5 Jul 2021 12:07:39 +0530 Subject: [PATCH] RSESPRT-64: Support saving more than 25 records in Profile.submit api Included in CiviCRM 5.40.0 PR: https://github.com/civicrm/civicrm-core/pull/20744 --- 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 c7c337d20985..eb78e51e0dfe 100644 --- a/api/v3/Profile.php +++ b/api/v3/Profile.php @@ -500,7 +500,7 @@ function _civicrm_api3_buildprofile_submitfields($profileID, $optionsBehaviour, if (isset($profileFields[$profileID])) { return $profileFields[$profileID]; } - $fields = civicrm_api3('uf_field', 'get', ['uf_group_id' => $profileID]); + $fields = civicrm_api3('uf_field', 'get', ['uf_group_id' => $profileID, 'options' => ['limit' => 0]]); $entities = []; foreach ($fields['values'] as $field) { if (!$field['is_active']) {