Skip to content

Commit

Permalink
E-notice fix - move variable declaration to parent class.
Browse files Browse the repository at this point in the history
I hit this when editing a contribution with line items related to membership.
  • Loading branch information
eileenmcnaughton authored and colemanw committed Mar 12, 2018
1 parent d8c5e9b commit bd4cefa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 7 additions & 0 deletions CRM/Contribute/Form/AbstractEditPayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,13 @@ class CRM_Contribute_Form_AbstractEditPayment extends CRM_Contact_Form_Task {
*/
public $paymentInstrumentID;

/**
* Component - event, membership or contribution.
*
* @var string
*/
protected $_component;

/**
* Array of fields to display on billingBlock.tpl - this is not fully implemented but basically intent is the panes/fieldsets on this page should
* be all in this array in order like
Expand Down
7 changes: 0 additions & 7 deletions CRM/Contribute/Form/AdditionalPayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,6 @@
class CRM_Contribute_Form_AdditionalPayment extends CRM_Contribute_Form_AbstractEditPayment {
public $_contributeMode = 'direct';

/**
* Related component whose financial payment is being processed.
*
* @var string
*/
protected $_component = NULL;

/**
* Id of the component entity
*/
Expand Down

0 comments on commit bd4cefa

Please sign in to comment.