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:
1386613
)
Fix Setting 'is_active' Param For Price Set For Type Text
author
varshith89
<vinu@compucorp.co.uk>
Wed, 12 Dec 2018 19:43:28 +0000
(19:43 +0000)
committer
varshith89
<vinu@compucorp.co.uk>
Wed, 12 Dec 2018 19:43:28 +0000
(19:43 +0000)
CRM/Price/Form/Field.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Price/Form/Field.php
b/CRM/Price/Form/Field.php
index 08b36bf6a887ac50563ab1f556459dd58834bae4..edd9969ed8ae856f380fdf72f94a1ad873810c64 100644
(file)
--- a/
CRM/Price/Form/Field.php
+++ b/
CRM/Price/Form/Field.php
@@
-689,7
+689,7
@@
class CRM_Price_Form_Field extends CRM_Core_Form {
$params['option_weight'] = array(1 => $params['weight']);
$params['option_financial_type_id'] = array(1 => $params['financial_type_id']);
$params['option_visibility_id'] = array(1 => CRM_Utils_Array::value('visibility_id', $params));
- $params['is_active'] = array(1 =>
1
);
+ $params['is_active'] = array(1 =>
$params['is_active']
);
}
if ($this->_fid) {