[#17] pass-trough campaign
This commit is contained in:
parent
f3e6b031b5
commit
a2b50fd4d3
3 changed files with 14 additions and 4 deletions
|
@ -394,7 +394,8 @@ function civicrm_api3_twingle_donation_Submit($params) {
|
|||
|
||||
if (!$contact_id = CRM_Twingle_Submission::getContact(
|
||||
'Individual',
|
||||
$contact_data
|
||||
$contact_data,
|
||||
$profile
|
||||
)) {
|
||||
throw new CiviCRM_API3_Exception(
|
||||
E::ts('Individual contact could not be found or created.'),
|
||||
|
@ -429,7 +430,8 @@ function civicrm_api3_twingle_donation_Submit($params) {
|
|||
}
|
||||
if (!$organisation_id = CRM_Twingle_Submission::getContact(
|
||||
'Organization',
|
||||
$organisation_data
|
||||
$organisation_data,
|
||||
$profile
|
||||
)) {
|
||||
throw new CiviCRM_API3_Exception(
|
||||
E::ts('Organisation contact could not be found or created.'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue