Fix: Assigning the return value of new by reference is deprecated

Fix: utf-8
This commit is contained in:
Regis Houssin
2009-11-12 13:33:55 +00:00
parent cd9a893bae
commit 52c111157f
7 changed files with 69 additions and 66 deletions

View File

@@ -127,7 +127,7 @@ class ExportExcel extends ModeleExports
$ret=1;
$outputlangs->load("exports");
$this->workbook = &new writeexcel_workbookbig($file);
$this->workbook = new writeexcel_workbookbig($file);
$this->workbook->set_tempdir($conf->export->dir_temp); // Set temporary directory
$this->workbook->set_sheetname($outputlangs->trans("Sheet"));
$this->worksheet = &$this->workbook->addworksheet();