From c61e851f46ca999f3c2ec722721e7c73e3cdafcd Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Fri, 4 Oct 2019 10:59:18 -0400 Subject: [PATCH] Use memberId not memberID standards --- models/front/billing/renew.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/models/front/billing/renew.php b/models/front/billing/renew.php index 81d76ac..a664a4b 100644 --- a/models/front/billing/renew.php +++ b/models/front/billing/renew.php @@ -246,14 +246,14 @@ class GlmMembersFront_billing_renew // extends GlmDataBilling } else { $view = 'renewMembership'; - $member_invoice_id = $BillingSupport->getMembersInvoiceTypeByRefDest( $this->memberID ); + $member_invoice_id = $BillingSupport->getMembersInvoiceTypeByRefDest( $this->memberId ); if ( $member_invoice_id ) { $member_invoice = $BillingSupport->getInvoiceTypeById( $member_invoice_id ); } else { $error = true; } - $employees = $BillingSupport->getListOfAccountEmployees( $this->memberID ); + $employees = $BillingSupport->getListOfAccountEmployees( $this->memberId ); $invoice_data = array( 'account_id' => $accountID, @@ -362,13 +362,13 @@ class GlmMembersFront_billing_renew // extends GlmDataBilling $payable_types = $BillingSupport->getAllPayableInvoiceTypes(); - $member_invoice_id = $BillingSupport->getMembersInvoiceTypeByRefDest( $this->memberID ); + $member_invoice_id = $BillingSupport->getMembersInvoiceTypeByRefDest( $this->memberId ); if ( $member_invoice_id ) { $member_invoice = $BillingSupport->getInvoiceTypeById( $member_invoice_id ); } // Get a list of this accounts employees. If they have any. - $employees = $BillingSupport->getListOfAccountEmployees( $this->memberID ); + $employees = $BillingSupport->getListOfAccountEmployees( $this->memberId ); // Load DataClass for Management. require_once GLM_MEMBERS_BILLING_PLUGIN_CLASS_PATH . '/data/dataManagement.php'; -- 2.17.1