mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-09 19:18:22 +01:00
Fix: Assigning the return value of new by reference is deprecated
Fix: utf-8
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user