projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #6408 from johanv/CRM-16963-permissions_country_api
[civicrm-core.git]
/
api
/
v3
/
MembershipType.php
diff --git
a/api/v3/MembershipType.php
b/api/v3/MembershipType.php
index ea36118b2e99b0f7f3b70361839579a039a494c0..cb3ab53674d19a5b7b14314e26c11b7700a6c738 100644
(file)
--- a/
api/v3/MembershipType.php
+++ b/
api/v3/MembershipType.php
@@
-60,6
+60,7
@@
function _civicrm_api3_membership_type_create_spec(&$params) {
$params['name']['api.required'] = 1;
$params['duration_unit']['api.required'] = 1;
$params['duration_interval']['api.required'] = 1;
+ $params['is_active']['api.default'] = 1;
}
/**