From 589d69c864370805180a080015a630770af9dc7e Mon Sep 17 00:00:00 2001 From: Debarshi Bhaumik Date: Wed, 30 Jun 2021 16:12:57 +0530 Subject: [PATCH] RSESPRT-64: Support saving more than 25 records in Profile.submit api --- 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 c7c337d209..eb78e51e0d 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']) { -- 2.25.1