From 8d7e3e2229a20afbb4ff3ebb5d4eec8bb5e9565e Mon Sep 17 00:00:00 2001 From: Kamil Tekiela Date: Wed, 14 Dec 2022 13:09:27 +0000 Subject: [PATCH] Simplified switch Signed-off-by: Kamil Tekiela --- libraries/classes/Plugins/Export/ExportCsv.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libraries/classes/Plugins/Export/ExportCsv.php b/libraries/classes/Plugins/Export/ExportCsv.php index d668621c2a..c3e3f80fcb 100644 --- a/libraries/classes/Plugins/Export/ExportCsv.php +++ b/libraries/classes/Plugins/Export/ExportCsv.php @@ -115,10 +115,7 @@ class ExportCsv extends ExportPlugin if ($GLOBALS['what'] === 'excel') { $GLOBALS['csv_terminated'] = "\015\012"; switch ($GLOBALS['excel_edition']) { - case 'win': - // as tested on Windows with Excel 2002 and Excel 2007 - $GLOBALS['csv_separator'] = ';'; - break; + case 'win': // as tested on Windows with Excel 2002 and Excel 2007 case 'mac_excel2003': $GLOBALS['csv_separator'] = ';'; break;