Skip to content

Commit

Permalink
RSESPRT-64: Support saving more than 25 records in Profile.submit api
Browse files Browse the repository at this point in the history
Included in CiviCRM 5.40.0
PR: civicrm#20744
  • Loading branch information
deb1990 authored and erawat committed Sep 14, 2021
1 parent a393093 commit cb77a11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v3/Profile.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']) {
Expand Down

0 comments on commit cb77a11

Please sign in to comment.