Deal with out of memory issues.
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 29 Mar 2018 18:34:55 +0000 (14:34 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 29 Mar 2018 18:34:55 +0000 (14:34 -0400)
Give third parameter of true to keep from getting all member data in
pointer type.

models/admin/ajax/accountsListExport.php

index 4dd2793..55d8320 100644 (file)
@@ -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;