projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0900b21
)
CRM-12108 noticed api.contribution_recur.frequency_interval needs to be mandatory
author
eileen
<eileen@fuzion.co.nz>
Tue, 30 Jul 2013 01:18:12 +0000
(13:18 +1200)
committer
eileen
<eileen@fuzion.co.nz>
Thu, 1 Aug 2013 19:56:56 +0000
(07:56 +1200)
api/v3/ContributionRecur.php
patch
|
blob
|
blame
|
history
diff --git
a/api/v3/ContributionRecur.php
b/api/v3/ContributionRecur.php
index 31320424827cf3a1fee464e75d666fe9540cbf6c..e704af4ce6dcd29a0b57ee0833cf52fade5de508 100644
(file)
--- 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;
}
/**