Skip to content

Commit

Permalink
refs #41289, remove entity table return of custom value api when sequ…
Browse files Browse the repository at this point in the history
…ential
  • Loading branch information
jimyhuang committed Aug 6, 2024
1 parent 3ae9674 commit c5f6957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v3/CustomValue.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ function civicrm_api3_custom_value_get($params) {
$id = $fieldNumber;
}
$values[$id]['entity_id'] = $getParams['entityID'];
if (CRM_Utils_Array::value('entityType', $getParams)) {
if (CRM_Utils_Array::value('entityType', $getParams) && empty($params['sequential'])) {
$values[$n]['entity_table'] = $getParams['entityType'];
}
//set 'latest' -useful for multi fields but set for single for consistency
Expand Down

0 comments on commit c5f6957

Please sign in to comment.