From 2dbe318b563e5270b546a194c571fad76aa39fa4 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Wed, 15 Nov 2023 11:22:28 +1300 Subject: [PATCH] Fix notice on payment processor object --- CRM/Contribute/Form/Contribution/Main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contribute/Form/Contribution/Main.php b/CRM/Contribute/Form/Contribution/Main.php index 579b172c59..327cecf8d9 100644 --- a/CRM/Contribute/Form/Contribution/Main.php +++ b/CRM/Contribute/Form/Contribution/Main.php @@ -752,7 +752,7 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu $form->assign('is_recur_interval', $this->getContributionPageValue('is_recur_interval')); $form->assign('is_recur_installments', $this->getContributionPageValue('is_recur_installments')); - $paymentObject = $this->_paymentProcessor['object']; + $paymentObject = $this->getPaymentProcessorObject(); if ($paymentObject) { $form->assign('recurringHelpText', $paymentObject->getText('contributionPageRecurringHelp', [ 'is_recur_installments' => !empty($form->_values['is_recur_installments']), -- 2.25.1