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 #3679 from yashodha/CRM-14951
[civicrm-core.git]
/
api
/
v3
/
RelationshipType.php
diff --git
a/api/v3/RelationshipType.php
b/api/v3/RelationshipType.php
index e3f5661af840eac675aa31d0d749533d0f7c1d0f..8c2f6bad5db664b0c362879ca783ed1f6cad2f2b 100644
(file)
--- a/
api/v3/RelationshipType.php
+++ b/
api/v3/RelationshipType.php
@@
-87,6
+87,7
@@
function _civicrm_api3_relationship_type_create_spec(&$params) {
$params['contact_type_b']['api.required'] = 1;
$params['name_a_b']['api.required'] = 1;
$params['name_b_a']['api.required'] = 1;
+ $params['is_active']['api.default'] = 1;
}
/**