mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
Addressbook: fix "array_key_exists(): Argument #2 ($array) must be of type array, null given" error editing import vcard definition
This commit is contained in:
parent
6d41c9c30b
commit
67e643be8d
@ -107,7 +107,7 @@ class addressbook_wizard_import_vcard extends addressbook_import_vcard
|
|||||||
|
|
||||||
foreach(array('override_values') as $field)
|
foreach(array('override_values') as $field)
|
||||||
{
|
{
|
||||||
if(!$content[$field] && array_key_exists($field, $content['plugin_options']))
|
if(!$content[$field] && is_array($content['plugin_options']) && array_key_exists($field, $content['plugin_options']))
|
||||||
{
|
{
|
||||||
$content[$field] = $content['plugin_options'][$field];
|
$content[$field] = $content['plugin_options'][$field];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user