Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.1.2
-
Fix Version/s: 4.1.3
-
Component/s: CiviContribute
-
Labels:None
Description
I created an online contribution page with "pay later" turned off. When the donor fills out their credit card information and clicks "Confirm Contribution", this error is displayed:
Notice: Undefined index: is_pay_later in CRM_Contribute_Form_Contribution_Main::formRule() (line 902 of /var/www/sites/all/modules/civicrm/CRM/Contribute/Form/Contribution/Main.php).
An "isset( $fields['is_pay_later'] )" has to be added (see attached patch).