From 748aa269656f38db40c6c791d99606f1d26570c0 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Mon, 18 Sep 2023 19:33:55 +1200 Subject: [PATCH] Declare _paymentFields with public visibility --- CRM/Contribute/Form/AbstractEditPayment.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CRM/Contribute/Form/AbstractEditPayment.php b/CRM/Contribute/Form/AbstractEditPayment.php index 442b056c29..385e65c119 100644 --- a/CRM/Contribute/Form/AbstractEditPayment.php +++ b/CRM/Contribute/Form/AbstractEditPayment.php @@ -136,6 +136,18 @@ class CRM_Contribute_Form_AbstractEditPayment extends CRM_Contact_Form_Task { */ public $_honorID = NULL; + /** + * Array of payment related fields to potentially display on this form (generally credit card or debit card fields). + * + * Note that this is not accessed in core except in a function that could use + * a local variable but both IATS & TSys access it. + * + * This is rendered via billingBlock.tpl. + * + * @var array + */ + public $_paymentFields = []; + /** * The contribution values if an existing contribution * @var array -- 2.25.1