X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Fincludes%2Fpdf_report.inc;h=a0a78be95b0784c49531c477a4603374c4164fb9;hb=1c502501a16dbb08e3f031e3c3a3038540c8b296;hp=29f6a5bbd733e41ba2a47f831efe9763e821f36f;hpb=e3296f859091dc27831c909375fb778903b2da9b;p=fa-stable.git diff --git a/reporting/includes/pdf_report.inc b/reporting/includes/pdf_report.inc index 29f6a5bb..a0a78be9 100644 --- a/reporting/includes/pdf_report.inc +++ b/reporting/includes/pdf_report.inc @@ -371,7 +371,7 @@ class FrontReport extends Cpdf $this->Font('italic'); if ($this->headers2 != null) { - $count = count($this->headers2); + $count = count_array($this->headers2); for ($i = 0; $i < $count; $i++) $this->TextCol2($i, $i + 1, $this->headers2[$i]); $this->NewLine();