X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=SimpleExcel.php;h=6c36750ea2e301acfaab413f0d3bc9497c7b89a6;hp=d56dd55878759780a24d64c52fe912b7ba7a42d9;hb=refs%2Fheads%2Fwip_alan_T5884_add_photo_to_report;hpb=b444ccfc21001536bac990bf84d0791104a220ad diff --git a/SimpleExcel.php b/SimpleExcel.php index d56dd558..6c36750e 100644 --- a/SimpleExcel.php +++ b/SimpleExcel.php @@ -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 ); @@ -436,7 +436,7 @@ class Pman_Core_SimpleExcel extends Pman $ar[0]($ar[1], $ar[2], $ar[3], $ar[4], $ar[5]); } else { // not sure if row is correct here...!!!? - call_user_func($ar[0],$ar[2], $ar[3], $ar[4], $ar[5]); + call_user_func($ar[0],$ar[1], $ar[2], $ar[3], $ar[4], $ar[5]); } }