From 03a9c7efe2a1f21dee78b6874f434c393b108a7b Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 16 Nov 2021 08:40:43 +0100 Subject: [PATCH] fix PHP 8.0 TypeError: implode(): Argument #2 ($array) must be of type ?array, string given --- importexport/inc/class.importexport_import_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/importexport/inc/class.importexport_import_ui.inc.php b/importexport/inc/class.importexport_import_ui.inc.php index 9a98f5b693..f34f73a59e 100644 --- a/importexport/inc/class.importexport_import_ui.inc.php +++ b/importexport/inc/class.importexport_import_ui.inc.php @@ -498,7 +498,7 @@ use EGroupware\Api\Etemplate; $edit_link, $definition->name ); } $actions[] = lang('Edit your file to match the definition:') . ' ' - . implode(array_map('lang',array_intersect_key($options['csv_fields'],$options['field_mapping'])),', '); + . implode(', ', array_map('lang', array_intersect_key($options['csv_fields'], $options['field_mapping']))); $message[] = "\n
  • ".implode($actions,"\n
  • "); } }