From 681156181d135ea446bebd99e2c35f04cf154b8c Mon Sep 17 00:00:00 2001 From: Eileen Date: Mon, 30 Sep 2013 14:26:46 +1300 Subject: [PATCH] API Metadata, document field type --- api/v3/Membership.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/v3/Membership.php b/api/v3/Membership.php index d00ca9fb3d..360d94685a 100644 --- a/api/v3/Membership.php +++ b/api/v3/Membership.php @@ -154,7 +154,8 @@ function _civicrm_api3_membership_create_spec(&$params) { 'title' => 'Skip status calculation. By default this is 0 if id is not set and 1 if it is set.' ); $params['num_terms'] = array( - 'title' => 'Number of terms to add/renew. If this parameter is passed, dates will be calculated automatically. If no id is passed (new membership) and no dates are given, num_terms will be assumed to be 1.' + 'title' => 'Number of terms to add/renew. If this parameter is passed, dates will be calculated automatically. If no id is passed (new membership) and no dates are given, num_terms will be assumed to be 1.', + 'type' => CRM_Utils_Type::T_INT, ); } /** -- 2.25.1