]> _ Git - cubist_excel.git/commitdiff
fix #6453
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 6 Nov 2023 10:55:34 +0000 (11:55 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 6 Nov 2023 10:55:34 +0000 (11:55 +0100)
src/Excel.php

index 5b8155992ca279584b867ffc3f9633ef829a21fa..9685c87312028c2175319bf611b8c9bc695e4f1d 100644 (file)
@@ -33,7 +33,7 @@ class Excel
 
         $line = 1;
         if (!is_null($head)) {
-            $c = 0;
+            $c = 1;
             foreach ($head as $label) {
                 $columns = max($columns, $c);
                 $cell = $sheet->getCellByColumnAndRow($c, $line);