remove unnecessary reset()
for $params[$target]
This commit is contained in:
parent
96d0e5fbec
commit
07435ad997
1 changed files with 1 additions and 1 deletions
|
@ -821,7 +821,7 @@ function civicrm_api3_twingle_donation_Submit($params) {
|
||||||
Note::create(FALSE)
|
Note::create(FALSE)
|
||||||
->addValue('entity_table', 'civicrm_contribution')
|
->addValue('entity_table', 'civicrm_contribution')
|
||||||
->addValue('entity_id', $contribution['id'])
|
->addValue('entity_id', $contribution['id'])
|
||||||
->addValue('note', reset($params[$target]))
|
->addValue('note', $params[$target])
|
||||||
->execute();
|
->execute();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue