From: Eileen McNaughton Date: Tue, 14 Nov 2023 22:22:28 +0000 (+1300) Subject: Fix notice on payment processor object X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2dbe318b563e5270b546a194c571fad76aa39fa4;p=civicrm-core.git Fix notice on payment processor object --- 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']),