From: Steve Sutton Date: Thu, 29 Mar 2018 18:34:55 +0000 (-0400) Subject: Deal with out of memory issues. X-Git-Tag: v1.0.0^2~91 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=81911acb50e67eaf5270c002062c351a42e60b67;p=WP-Plugins%2Fglm-member-db-billing.git Deal with out of memory issues. Give third parameter of true to keep from getting all member data in pointer type. --- diff --git a/models/admin/ajax/accountsListExport.php b/models/admin/ajax/accountsListExport.php index 4dd2793..55d8320 100644 --- a/models/admin/ajax/accountsListExport.php +++ b/models/admin/ajax/accountsListExport.php @@ -189,7 +189,7 @@ class GlmMembersAdmin_ajax_accountsListExport extends GlmDataAccounts // Get a current list of accounts without paging $orderBy = 'renewal_date ASC'; - $list = $this->getList( $where, $orderBy ); + $list = $this->getList( $where, $orderBy, true ); // If we have list entries - even if it's an empty list $success = true;