From 64017370cdd620d0fc69fa2a778b46bb9ee10373 Mon Sep 17 00:00:00 2001 From: ralf Date: Thu, 24 Feb 2022 17:58:32 +0200 Subject: [PATCH] fix array_key_exists() expects exactly 2 arguments, 1 given --- .../inc/class.addressbook_wizard_import_vcard.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addressbook/inc/class.addressbook_wizard_import_vcard.inc.php b/addressbook/inc/class.addressbook_wizard_import_vcard.inc.php index 277e978a83..bc074b1cc1 100644 --- a/addressbook/inc/class.addressbook_wizard_import_vcard.inc.php +++ b/addressbook/inc/class.addressbook_wizard_import_vcard.inc.php @@ -95,10 +95,10 @@ class addressbook_wizard_import_vcard extends addressbook_import_vcard { $content['title'] = $this->steps['wizard_step60']; $content['step'] = 'wizard_step60'; - if(!array_key_exists($content['contact_owner']) && $content['plugin_options']) { + if (!array_key_exists('contact_owner', $content) && $content['plugin_options']) { $content['contact_owner'] = $content['plugin_options']['contact_owner']; } - if(!array_key_exists($content['change_owner']) && $content['plugin_options']) { + if(!array_key_exists('change_owner', $content) && $content['plugin_options']) { $content['change_owner'] = $content['plugin_options']['change_owner']; } @@ -117,4 +117,4 @@ class addressbook_wizard_import_vcard extends addressbook_import_vcard return 'addressbook.importexport_wizard_vcard_chooseowner'; } } -} +} \ No newline at end of file