From 917a9954b1dc03ac64b1c18b4f030296459f4ecc Mon Sep 17 00:00:00 2001 From: Dave Greenberg Date: Mon, 6 Jan 2014 16:55:00 -0800 Subject: [PATCH] Update Main.php Fix form rule error for number of pledge installments. --- CRM/Contribute/Form/Contribution/Main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contribute/Form/Contribution/Main.php b/CRM/Contribute/Form/Contribution/Main.php index 1bf2237ddb..68918da67f 100644 --- 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) { -- 2.25.1