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:
e38a2f3
)
Update Main.php
author
Dave Greenberg
<dave@civicrm.org>
Tue, 7 Jan 2014 00:55:00 +0000
(16:55 -0800)
committer
Dave Greenberg
<dave@civicrm.org>
Tue, 7 Jan 2014 00:55:00 +0000
(16:55 -0800)
Fix form rule error for number of pledge installments.
CRM/Contribute/Form/Contribution/Main.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contribute/Form/Contribution/Main.php
b/CRM/Contribute/Form/Contribution/Main.php
index 1bf2237ddba6bffb1e513dbd6ac37b68766418a3..68918da67f3ac9f4b627c5f1845fee03545f5c33 100644
(file)
--- a/
CRM/Contribute/Form/Contribution/Main.php
+++ b/
CRM/Contribute/Form/Contribution/Main.php
@@
-977,7
+977,7
@@
class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu
}
elseif (CRM_Utils_Array::value('is_pledge', $fields)) {
if (CRM_Utils_Rule::positiveInteger(CRM_Utils_Array::value('pledge_installments', $fields)) == FALSE) {
- $errors['pledge_installments'] = ts('Please enter a valid
pledge installment
.');
+ $errors['pledge_installments'] = ts('Please enter a valid
number of pledge installments
.');
}
else {
if (CRM_Utils_Array::value('pledge_installments', $fields) == NULL) {