X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FPrice%2FForm%2FField.php;h=25b7999cbde7556e06513bc8611373b5d98eeb42;hb=7da04cdea71382ff22ffd94e9b3ae9915c25422b;hp=52f758c3e7817b169a5082a705c8669044221e3e;hpb=9c41996008a0cb938cd30d8996cdec462c6a61a7;p=civicrm-core.git diff --git a/CRM/Price/Form/Field.php b/CRM/Price/Form/Field.php index 52f758c3e7..25b7999cbd 100644 --- a/CRM/Price/Form/Field.php +++ b/CRM/Price/Form/Field.php @@ -1,7 +1,7 @@ ' ') + $membershipTypes, FALSE, $js ); - $this->add('text', 'membership_num_terms[' . $i . ']', ts('Number of terms'), CRM_Utils_Array::value('membership_num_terms', $attributes)); + $this->add('text', 'membership_num_terms[' . $i . ']', ts('Number of Terms'), CRM_Utils_Array::value('membership_num_terms', $attributes)); } // weight @@ -389,12 +389,12 @@ class CRM_Price_Form_Field extends CRM_Core_Form { } /** - * global validation rules for the form + * Global validation rules for the form * * @param array $fields posted values of the form * * @param $files - * @param $form + * @param CRM_Core_Form $form * * @return array if errors then list of errors to be posted back to the form, * true otherwise