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 #10661 from jitendrapurohit/CRM-20507
[civicrm-core.git]
/
api
/
v3
/
MembershipType.php
diff --git
a/api/v3/MembershipType.php
b/api/v3/MembershipType.php
index d1db1fec13d1f29f0ae0092a52e9cb3093088dd4..a8b29405c522e96e776998e287cddd31fe2768d7 100644
(file)
--- a/
api/v3/MembershipType.php
+++ b/
api/v3/MembershipType.php
@@
-66,6
+66,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['period_type']['api.required'] = 1;
$params['is_active']['api.default'] = 1;
}