From: Steve Sutton Date: Fri, 4 Oct 2019 14:59:18 +0000 (-0400) Subject: Use memberId not memberID X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fdevelop;p=WP-Plugins%2Fglm-member-db-billing.git Use memberId not memberID standards --- 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';