fly 4 years ago
parent
commit
a0bc467b3f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Helpers/ExcelHelper.php

+ 1 - 1
src/Helpers/ExcelHelper.php

@@ -50,7 +50,7 @@ class ExcelHelper
         })->all();
         fputcsv($fp, $column_names);
         $limit = 1000;
-        $calc = 1;
+        $calc = 0;
         foreach ($data as $item) {
             $calc++;
             if ($limit == $calc) {