Use memberId not memberID develop
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 4 Oct 2019 14:59:18 +0000 (10:59 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 4 Oct 2019 14:59:18 +0000 (10:59 -0400)
standards

models/front/billing/renew.php

index 81d76ac..a664a4b 100644 (file)
@@ -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';