From ca0ebd7210dc033cbd9b76dbbcb5cdc4d82ac13c Mon Sep 17 00:00:00 2001 From: Andrew Engelbrecht Date: Fri, 12 Jan 2018 17:19:17 -0500 Subject: [PATCH] corrected variable name this code was moved from another location during a git rebase, and the a variable name needed to change. --- CRM/Contribute/Form/ContributionBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contribute/Form/ContributionBase.php b/CRM/Contribute/Form/ContributionBase.php index 396f2011d0..3bfa17967e 100644 --- a/CRM/Contribute/Form/ContributionBase.php +++ b/CRM/Contribute/Form/ContributionBase.php @@ -1339,7 +1339,7 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form { } else { $this->addElement('checkbox', 'auto_renew', ts('Please renew my membership automatically.')); - $temphax =& $form->getElement('auto_renew'); + $temphax =& $this->getElement('auto_renew'); $temphax->setValue(1); } } -- 2.25.1