mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 01:43:47 +01:00
fix array_key_exists() Argument #2 must be of type array, null given when trying to create a new iCal Import profile for Infolog
This commit is contained in:
parent
bdf50616e9
commit
5d491cf313
@ -62,7 +62,7 @@ class infolog_wizard_import_ical
|
||||
$content['step'] = 'wizard_step55';
|
||||
foreach(array('override_values') as $field)
|
||||
{
|
||||
if(!$content[$field] && array_key_exists($field, $content['plugin_options']))
|
||||
if(empty($content[$field]) && !empty($content['plugin_options']) && array_key_exists($field, $content['plugin_options']))
|
||||
{
|
||||
$content[$field] = $content['plugin_options'][$field];
|
||||
}
|
||||
@ -76,4 +76,4 @@ class infolog_wizard_import_ical
|
||||
return $this->step_templates[$content['step']];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user