Undefined property fix
authorEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 13 Jul 2023 21:53:11 +0000 (09:53 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 13 Jul 2023 21:53:11 +0000 (09:53 +1200)
This is declared on other forms that use CRM_Form_Payment
so this aligns

CRM/Member/Form.php

index b50799354ce0f6d7115828173c96059a064890da..4fa377416be0bbce7611f696b47fb9e43206619e 100644 (file)
@@ -77,6 +77,14 @@ class CRM_Member_Form extends CRM_Contribute_Form_AbstractEditPayment {
    */
   protected $formContext = 'membership';
 
+  /**
+   * Array of the payment fields to be displayed in the payment fieldset (pane) in billingBlock.tpl
+   * this contains all the information to describe these fields from quickform. See CRM_Core_Form_Payment getPaymentFormFieldsMetadata
+   *
+   * @var array
+   */
+  public $_paymentFields = [];
+
   /**
    * @return string
    */