Revert "fix obsolete use of CRM_Utils_Array::first()"
This commit is contained in:
parent
bea59b4365
commit
0caf9bf98e
1 changed files with 1 additions and 1 deletions
|
@ -817,7 +817,7 @@ function civicrm_api3_twingle_donation_Submit($params) {
|
|||
civicrm_api4('Note', 'create', [
|
||||
'values' => [
|
||||
'entity_table' => 'civicrm_contribution',
|
||||
'entity_id' => $result_values['contribution']['id'],
|
||||
'entity_id' => CRM_Utils_Array::first($result_values['contribution'])['id'],
|
||||
'note' => $params[$target],
|
||||
],
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue