From: eileen Date: Tue, 30 Jul 2013 01:18:12 +0000 (+1200) Subject: CRM-12108 noticed api.contribution_recur.frequency_interval needs to be mandatory X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=35ed6e9c304a00d60c2f2f942f040300c043ede3;p=civicrm-core.git CRM-12108 noticed api.contribution_recur.frequency_interval needs to be mandatory --- diff --git a/api/v3/ContributionRecur.php b/api/v3/ContributionRecur.php index 3132042482..e704af4ce6 100644 --- a/api/v3/ContributionRecur.php +++ b/api/v3/ContributionRecur.php @@ -57,6 +57,7 @@ function civicrm_api3_contribution_recur_create($params) { function _civicrm_api3_contribution_recur_create_spec(&$params) { $params['contact_id']['api.required'] = 1; $params['create_date']['api.default'] = 'now'; + $params['frequency_interval']['api.required'] = 1; } /**