From 35ed6e9c304a00d60c2f2f942f040300c043ede3 Mon Sep 17 00:00:00 2001 From: eileen Date: Tue, 30 Jul 2013 13:18:12 +1200 Subject: [PATCH] CRM-12108 noticed api.contribution_recur.frequency_interval needs to be mandatory --- api/v3/ContributionRecur.php | 1 + 1 file changed, 1 insertion(+) 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; } /** -- 2.25.1