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:
859a7a9
)
Port back default on OptionGroup
author
eileenmcnaugton
<eileen@fuzion.co.nz>
Sun, 22 May 2016 22:42:17 +0000
(10:42 +1200)
committer
eileenmcnaugton
<eileen@fuzion.co.nz>
Sun, 22 May 2016 22:44:52 +0000
(10:44 +1200)
api/v3/OptionGroup.php
patch
|
blob
|
blame
|
history
diff --git
a/api/v3/OptionGroup.php
b/api/v3/OptionGroup.php
index 68ed79bd8ad834b664ffe2e1a039dd48d4e635c1..b7b0e7ebdc609ac71a80b1b8eedc93971f1b8d29 100644
(file)
--- a/
api/v3/OptionGroup.php
+++ b/
api/v3/OptionGroup.php
@@
-66,6
+66,7
@@
function civicrm_api3_option_group_create($params) {
*/
function _civicrm_api3_option_group_create_spec(&$params) {
$params['name']['api.unique'] = 1;
+ $params['is_active']['api.default'] = TRUE;
}
/**