X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Fincludes%2Fexcel_report.inc;fp=reporting%2Fincludes%2Fexcel_report.inc;h=483d0fde157170d2d66fd99dc390d856908f6a83;hb=f457a5d9b16a38ecd5400a6123034198705f3826;hp=08ab6aeb7dc7dd57ef1580e503a5221f6f7b1079;hpb=6f19c7686ecc9b4bed829a2085430e32364f315c;p=fa-stable.git diff --git a/reporting/includes/excel_report.inc b/reporting/includes/excel_report.inc index 08ab6aeb..483d0fde 100644 --- a/reporting/includes/excel_report.inc +++ b/reporting/includes/excel_report.inc @@ -84,7 +84,7 @@ class FrontReport extends Spreadsheet_Excel_Writer_Workbook $this->filename = $filename.".xls"; $this->unique_name = random_id().".xls"; $this->path = company_path(). '/pdf_files'; - $this->Spreadsheet_Excel_Writer_Workbook($this->path."/".$this->unique_name); + parent::__construct($this->path."/".$this->unique_name); if ($this->code != "iso-8859-1") $this->setVersion(8); // set biff version to 8 (0x0006 internal) $this->sheet = $this->addWorksheet($this->worksheetNameGenerator($this->title));