X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Fincludes%2Fexcel_report.inc;h=1ee91c703076d348a48c0b99ba502bb0fbd45898;hb=1ea4eba5d15555990a7f0c79c5199b39b48ea79e;hp=483d0fde157170d2d66fd99dc390d856908f6a83;hpb=e3296f859091dc27831c909375fb778903b2da9b;p=fa-stable.git diff --git a/reporting/includes/excel_report.inc b/reporting/includes/excel_report.inc index 483d0fde..1ee91c70 100644 --- a/reporting/includes/excel_report.inc +++ b/reporting/includes/excel_report.inc @@ -240,7 +240,7 @@ class FrontReport extends Spreadsheet_Excel_Writer_Workbook $this->headers2 = $headers2; $this->aligns2 = $aligns2; $this->numcols = count($this->headers); - $tcols = count($this->headers2); + $tcols = count_array($this->headers2); if ($tcols > $this->numcols) $this->numcols = $tcols; for ($i = 0; $i < $this->numcols; $i++)