SimpleExcel.php wip_alan_T5884_add_photo_to_report
authorAlan Knowles <alan@roojs.com>
Tue, 21 May 2019 09:10:38 +0000 (17:10 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 21 May 2019 09:10:38 +0000 (17:10 +0800)
SimpleExcel.php

index 83aa95f..6c36750 100644 (file)
@@ -376,7 +376,7 @@ class Pman_Core_SimpleExcel extends Pman
                     continue;
                 }
                 $this->postRender[] = array(
-                    $col_cfg['renderer'], $cl[$col_cfg['dataIndex']], $worksheet, $r+1, $c, $cl
+                    $col_cfg['renderer'], $cl[$col_cfg['dataIndex']], $worksheet, $start_row+$r+1, $c, $cl
                 );