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:
7f6d3dd
)
default to is_active on custom field api
author
eileen
<eileen@fuzion.co.nz>
Thu, 6 Jun 2013 10:11:54 +0000
(22:11 +1200)
committer
eileen
<eileen@fuzion.co.nz>
Thu, 6 Jun 2013 10:11:54 +0000
(22:11 +1200)
api/v3/CustomField.php
patch
|
blob
|
blame
|
history
diff --git
a/api/v3/CustomField.php
b/api/v3/CustomField.php
index a5af4c5a99ef71eba849fd98457443002379d4f2..300f0d72e672db08af9f6f8b0a0212d05672b1b8 100644
(file)
--- a/
api/v3/CustomField.php
+++ b/
api/v3/CustomField.php
@@
-95,6
+95,7
@@
function _civicrm_api3_custom_field_create_spec(&$params) {
'type' => CRM_Utils_Type::T_BOOL,
);
$params['data_type']['api.default'] = 'String';
+ $params['is_active']['api.default'] = 1;
}
/**