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:
35ed6e9
)
CRM-12108 noticed api.contribution_recur.start_date needs to be set or have a default...
author
eileen
<eileen@fuzion.co.nz>
Tue, 30 Jul 2013 01:22:25 +0000
(13:22 +1200)
committer
eileen
<eileen@fuzion.co.nz>
Thu, 1 Aug 2013 19:56:57 +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 e704af4ce6dcd29a0b57ee0833cf52fade5de508..2121d907588d95396f48e6fa5b5b45ec751067cb 100644
(file)
--- a/
api/v3/ContributionRecur.php
+++ b/
api/v3/ContributionRecur.php
@@
-58,6
+58,7
@@
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;
+ $params['start_date']['api.default'] = 'now';
}
/**