From 3d204d0cc40f9e2471a9574f36623f8f1c592adc Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Fri, 28 Jul 2023 11:47:59 +1200 Subject: [PATCH] Remove unusable assigns (copy & paste I believe) --- CRM/Contribute/Form/Contribution/Main.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/CRM/Contribute/Form/Contribution/Main.php b/CRM/Contribute/Form/Contribution/Main.php index d8c9960760..d15c39c8a4 100644 --- a/CRM/Contribute/Form/Contribution/Main.php +++ b/CRM/Contribute/Form/Contribution/Main.php @@ -1235,11 +1235,6 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu // Would be nice to someday understand the point of this set. $this->set('is_pay_later', $params['is_pay_later']); - // assign pay later stuff - $this->_params['is_pay_later'] = $params['is_pay_later']; - $this->assign('is_pay_later', $params['is_pay_later']); - $this->assign('pay_later_text', $params['is_pay_later'] ? $this->_values['pay_later_text'] : NULL); - $this->assign('pay_later_receipt', ($params['is_pay_later'] && isset($this->_values['pay_later_receipt'])) ? $this->_values['pay_later_receipt'] : NULL); if ($this->_membershipBlock && $this->_membershipBlock['is_separate_payment'] && !empty($params['separate_amount'])) { $this->set('amount', $params['separate_amount']); -- 2.25.1