From a0c15314b30508d316a7f4be8b12c96c402784e6 Mon Sep 17 00:00:00 2001 From: Marc Michalsky forumZFD Date: Thu, 10 Dec 2020 15:18:47 +0100 Subject: [PATCH] do only offer active campaigns --- api/v3/TwingleForm/Get.php | 1 + 1 file changed, 1 insertion(+) diff --git a/api/v3/TwingleForm/Get.php b/api/v3/TwingleForm/Get.php index cfc2b5b..e6a1c8f 100644 --- a/api/v3/TwingleForm/Get.php +++ b/api/v3/TwingleForm/Get.php @@ -68,6 +68,7 @@ function civicrm_api3_twingle_form_Get(array $params) { $request = [ 'sequential' => 1, + 'is_active' => 1, 'campaign_type_id' => "twingle_project" ]; foreach($params as $param) {