mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 15:33:23 +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
0f99d2e794
commit
a4f2549acf
@ -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