forked from extern/egroupware
fix PHP 8.x TypeError: Cannot access offset of type string on string
This commit is contained in:
parent
d1cd915a0e
commit
b32e68c541
@ -90,7 +90,7 @@ class addressbook_wizard_export_contacts_csv extends importexport_wizard_basic_e
|
||||
unset ($preserv['button']);
|
||||
$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
|
||||
if(count($field_list) == 0) {
|
||||
@ -149,4 +149,4 @@ class addressbook_wizard_export_contacts_csv extends importexport_wizard_basic_e
|
||||
}
|
||||
return $field_list;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user