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