diff --git a/htdocs/includes/modules/export/export_csv.modules.php b/htdocs/includes/modules/export/export_csv.modules.php index 81237280e94..e560e4ec9a5 100644 --- a/htdocs/includes/modules/export/export_csv.modules.php +++ b/htdocs/includes/modules/export/export_csv.modules.php @@ -118,7 +118,7 @@ class ExportCsv extends ModeleExports { foreach($array_selected_sorted as $code => $value) { - fwrite($this->handle,$langs->trans($array_export_fields_label[$code]).";"); + fwrite($this->handle,$langs->transnoentities($array_export_fields_label[$code]).";"); } fwrite($this->handle,"\n"); return 0; diff --git a/htdocs/includes/modules/export/export_excel.modules.php b/htdocs/includes/modules/export/export_excel.modules.php index 569c698a270..edfb3e90fc4 100644 --- a/htdocs/includes/modules/export/export_excel.modules.php +++ b/htdocs/includes/modules/export/export_excel.modules.php @@ -133,7 +133,7 @@ class ExportExcel extends ModeleExports { $alias=$array_export_fields_label[$code]; //print "dd".$alias; - $this->worksheet->write($this->row, $this->col, $langs->trans($alias)); + $this->worksheet->write($this->row, $this->col, $langs->transnoentities($alias)); $this->col++; } $this->row++;