From 4b307b2f30f1ed0f7c453100052e4aad94abe4f1 Mon Sep 17 00:00:00 2001 From: eileen Date: Thu, 6 Jun 2013 22:11:54 +1200 Subject: [PATCH] default to is_active on custom field api --- api/v3/CustomField.php | 1 + 1 file changed, 1 insertion(+) diff --git a/api/v3/CustomField.php b/api/v3/CustomField.php index a5af4c5a99..300f0d72e6 100644 --- a/api/v3/CustomField.php +++ b/api/v3/CustomField.php @@ -95,6 +95,7 @@ function _civicrm_api3_custom_field_create_spec(&$params) { 'type' => CRM_Utils_Type::T_BOOL, ); $params['data_type']['api.default'] = 'String'; + $params['is_active']['api.default'] = 1; } /** -- 2.25.1