Skip to content
Snippets Groups Projects
Commit 589d69c8 authored by debarshi_compucorp's avatar debarshi_compucorp
Browse files

RSESPRT-64: Support saving more than 25 records in Profile.submit api

parent 962e1ff2
Branches
Tags
No related merge requests found
......@@ -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']) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment