From 9fed6619008bc8226f728d6446ec4742b897e879 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Wed, 4 Jun 2014 10:36:52 +1200 Subject: [PATCH] api contribution page default to is_active --- api/v3/ContributionPage.php | 1 + 1 file changed, 1 insertion(+) diff --git a/api/v3/ContributionPage.php b/api/v3/ContributionPage.php index 59c27c499d..bd11bdda31 100644 --- a/api/v3/ContributionPage.php +++ b/api/v3/ContributionPage.php @@ -59,6 +59,7 @@ function civicrm_api3_contribution_page_create($params) { function _civicrm_api3_contribution_page_create_spec(&$params) { $params['financial_type_id']['api.required'] = 1; $params['payment_processor']['api.aliases'] = array('payment_processor_id'); + $params['is_active']['api.default'] = 1; } /** -- 2.25.1