From: Steve Sutton Date: Tue, 23 Jan 2018 21:23:37 +0000 (-0500) Subject: Update for import X-Git-Tag: v2.10.23^2~17 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=cf80e412e6eaf1e177b576e8df20ec366dbc65b1;p=WP-Plugins%2Fglm-member-db.git Update for import up it to 40 per member import. --- diff --git a/models/admin/import/index.php b/models/admin/import/index.php index 29621577..2ac696c7 100644 --- a/models/admin/import/index.php +++ b/models/admin/import/index.php @@ -100,7 +100,7 @@ class GlmMembersAdmin_import_index * @var float * @access public */ - public $memberProcessCountPerRound = 20; + public $memberProcessCountPerRound = 40; /** * fileProcessCountPerRound @@ -818,7 +818,7 @@ class GlmMembersAdmin_import_index if ( ( $fp = fopen( $fileName, 'r' ) ) !== false ) { // get first line to use as headers $rowNumber = 0; - while ( ( $data = fgetcsv( $fp, SELF::CSV_CHARS_PER_LINE, ',' ) ) !== false ) { + while ( ( $data = fgetcsv( $fp, SELF::CSV_CHARS_PER_LINE, ',', '"', '"' ) ) !== false ) { if ( $rowNumber == 0 ) { $fileHeaders = $data; } else {