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:
a8041e0
)
-- fixed for CRM-12294, added condition to display no thank you contribution only...
author
Pradeep Nayak
<pradeep@pradeep>
Mon, 8 Apr 2013 10:23:54 +0000
(15:53 +0530)
committer
Pradeep Nayak
<pradeep@pradeep>
Mon, 8 Apr 2013 10:23:54 +0000
(15:53 +0530)
CRM/Price/BAO/Field.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Price/BAO/Field.php
b/CRM/Price/BAO/Field.php
index c2c34a00d5ff2217a51d6e5c2d6ea882f73edae3..435585412928e7149f0054d99d38b6651b280f77 100644
(file)
--- a/
CRM/Price/BAO/Field.php
+++ b/
CRM/Price/BAO/Field.php
@@
-377,7
+377,8
@@
class CRM_Price_BAO_Field extends CRM_Price_DAO_Field {
$choice[$opId]->freeze();
}
}
- if (property_exists($qf, '_membershipBlock') && $field->name == 'contribution_amount') {
+ if (property_exists($qf, '_membershipBlock') && $qf->_membershipBlock
+ && $field->name == 'contribution_amount') {
$choice[] = $qf->createElement('radio', NULL, '', ts('No thank you'), '-1',
array(
'onclick' => 'clearAmountOther();',