From 7fdb4670668cc19012339bf1d57456ef94c2a5f9 Mon Sep 17 00:00:00 2001 From: Andrew Engelbrecht <andrew@fsf.org> 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 9b74a7e2a2..e767e25b5d 100644 --- a/CRM/Contribute/Form/ContributionBase.php +++ b/CRM/Contribute/Form/ContributionBase.php @@ -1273,7 +1273,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