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:
e9b9554
)
api/v3/RelationshipType - Fix default for "is_active"
author
Tim Otten
<totten@civicrm.org>
Sat, 24 May 2014 03:37:19 +0000
(20:37 -0700)
committer
Tim Otten
<totten@civicrm.org>
Mon, 26 May 2014 20:05:26 +0000
(13:05 -0700)
api/v3/RelationshipType.php
patch
|
blob
|
blame
|
history
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;
}
/**