From 9e9af80fe03abebd882c8ccdc721df7b41490ec2 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 5 Oct 2024 18:33:36 +0200 Subject: [PATCH] Fix regression --- htdocs/core/modules/export/exportcsv.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/core/modules/export/exportcsv.class.php b/htdocs/core/modules/export/exportcsv.class.php index 64acefab72a..1e263a67284 100644 --- a/htdocs/core/modules/export/exportcsv.class.php +++ b/htdocs/core/modules/export/exportcsv.class.php @@ -208,6 +208,8 @@ class ExportCsv extends ModeleExports continue; } + $newvalue = $array_export_fields_label[$code]; + // Clean data and add encloser if required (depending on value of USE_STRICT_CSV_RULES) include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php'; $newvalue = csvClean($newvalue, $outputlangs->charset_output, $this->separator);