fix bug: infinite loop on TwingleCampaign->create()
This commit is contained in:
parent
f17a899b79
commit
75bbfcb12c
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ function civicrm_api3_twingle_campaign_Create(array $params): array {
|
||||||
|
|
||||||
// Try to create the TwingleCampaign
|
// Try to create the TwingleCampaign
|
||||||
try {
|
try {
|
||||||
$campaign->create();
|
$campaign->create(TRUE);
|
||||||
return civicrm_api3_create_success(
|
return civicrm_api3_create_success(
|
||||||
$campaign->getResponse('TwingleCampaign created'),
|
$campaign->getResponse('TwingleCampaign created'),
|
||||||
$params,
|
$params,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue