mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
Avoid some more PHP8 errors
An error happened! (TypeError): Cannot access offset of type string on string
This commit is contained in:
parent
965e100082
commit
f6f5fccd08
@ -282,12 +282,19 @@ class importexport_wizard_basic_export_csv
|
||||
unset ($preserv['button']);
|
||||
|
||||
$content['set_filter']['fields'] = importexport_helper_functions::get_filter_fields(
|
||||
$content['application'],$content['plugin'],$this
|
||||
$content['application'], $content['plugin'], $this
|
||||
);
|
||||
// Load existing filter from either content or definition
|
||||
if(!array_key_exists('filter', $content) || !is_array($content['filter']))
|
||||
{
|
||||
$content['filter'] = [];
|
||||
}
|
||||
foreach($content['set_filter']['fields'] as $field => $settings)
|
||||
{
|
||||
$content['set_filter'][$field] = $content['filter'][$field];
|
||||
if(array_key_exists($field, $content['filter']))
|
||||
{
|
||||
$content['set_filter'][$field] = $content['filter'][$field];
|
||||
}
|
||||
}
|
||||
|
||||
if(!$content['set_filter']['fields'])
|
||||
|
Loading…
Reference in New Issue
Block a user