From 0223e2338f433f873524d4657ed358c597ffa29c Mon Sep 17 00:00:00 2001 From: Web Access Date: Fri, 22 May 2015 18:53:40 +0530 Subject: [PATCH] Added doc for CRM-16285 --- CRM/Contribute/BAO/ContributionRecur.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/CRM/Contribute/BAO/ContributionRecur.php b/CRM/Contribute/BAO/ContributionRecur.php index 8c531f3caf..2ee5c29a88 100644 --- a/CRM/Contribute/BAO/ContributionRecur.php +++ b/CRM/Contribute/BAO/ContributionRecur.php @@ -457,7 +457,14 @@ INNER JOIN civicrm_contribution con ON ( con.id = mp.contribution_id ) } } - //CRM-16285 - Function to handle validation errors on form, for recurring contribution field. + /** + * CRM-16285 - Function to handle validation errors on form, for recurring contribution field. + * @param array $fields + * The input form values. + * @param array $files + * The uploaded files if any. + * @param $self + */ public static function validateRecurContribution($fields, $files, $self, &$errors) { if (!empty($fields['is_recur'])) { if ($fields['frequency_interval'] <= 0) { @@ -468,4 +475,5 @@ INNER JOIN civicrm_contribution con ON ( con.id = mp.contribution_id ) } } } + } -- 2.25.1