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:
63f63f5
)
CRM-16996 missing parenteses on if when validating financial_type_id
author
eileenmcnaugton
<eileen@fuzion.co.nz>
Tue, 25 Aug 2015 22:32:20 +0000
(10:32 +1200)
committer
eileenmcnaugton
<eileen@fuzion.co.nz>
Wed, 26 Aug 2015 08:07:05 +0000
(20:07 +1200)
CRM/Member/Form/Membership.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Member/Form/Membership.php
b/CRM/Member/Form/Membership.php
index 6da29b322f4cf92998c31a0089e4f893ce37c69c..6ac490245da7f16a6df64c67b1c3cf3214fe8263 100644
(file)
--- a/
CRM/Member/Form/Membership.php
+++ b/
CRM/Member/Form/Membership.php
@@
-779,7
+779,7
@@
class CRM_Member_Form_Membership extends CRM_Member_Form {
$errors['num_terms'] = ts('Please enter an integer for the number of terms.');
}
- if (
$self->_mode || isset($params['record_contribution']
) && empty($params['financial_type_id'])) {
+ if (
($self->_mode || isset($params['record_contribution'])
) && empty($params['financial_type_id'])) {
$errors['financial_type_id'] = ts('Please enter the financial Type.');
}
}