mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
fix PHP 8.x TypeError: Cannot access offset of type string on string
This commit is contained in:
parent
525c39a3b0
commit
10c1f1440f
@ -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) {
|
||||||
@ -149,4 +149,4 @@ class addressbook_wizard_export_contacts_csv extends importexport_wizard_basic_e
|
|||||||
}
|
}
|
||||||
return $field_list;
|
return $field_list;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user