🔧 do not limit number of results for civicrm_api3 calls
This commit is contained in:
parent
cf04e1f934
commit
73714bf312
7 changed files with 25 additions and 7 deletions
|
@ -241,6 +241,7 @@ class CRM_TwingleCampaign_BAO_TwingleEvent extends Campaign {
|
|||
$parentCampaign = civicrm_api3('Campaign', 'get', [
|
||||
'sequential' => 1,
|
||||
$cf_project_id => $this->values['project_id'],
|
||||
'options' => ['limit' => 0]
|
||||
]);
|
||||
if ($parentCampaign['is_error'] == 0) {
|
||||
return (int) $parentCampaign['id'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue