fix PHP 8.x TypeError: Cannot access offset of type string on string

This commit is contained in:
ralf 2022-04-20 17:31:02 +02:00
parent d1cd915a0e
commit b32e68c541

View File

@ -90,7 +90,7 @@ class addressbook_wizard_export_contacts_csv extends importexport_wizard_basic_e
unset ($preserv['button']); unset ($preserv['button']);
$field_list = $this->get_field_list($content); $field_list = $this->get_field_list($content);
$settings = $content['explode_multiselects'] ? $content['explode_multiselects'] : $content['plugin_options']['explode_multiselects']; $settings = $content['explode_multiselects'] ?: $content['plugin_options']['explode_multiselects'] ?: [];
// Skip this step if no fields applicable // Skip this step if no fields applicable
if(count($field_list) == 0) { if(count($field_list) == 0) {