From 7ce40920a78f4d1ffe7d6a113692e6a6d4701673 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 aca28e46fc..7c684bd041 100644 --- a/CRM/Contribute/Form/ContributionBase.php +++ b/CRM/Contribute/Form/ContributionBase.php @@ -1356,7 +1356,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