From b7c0fce767f146ba72040c2664d7589995e4647c Mon Sep 17 00:00:00 2001 From: nathangray <nathangray.bsc+github@gmail.com> Date: Thu, 7 Feb 2019 10:56:10 -0700 Subject: [PATCH] Avoid warning if conditions do not exist --- importexport/inc/class.importexport_definition.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/importexport/inc/class.importexport_definition.inc.php b/importexport/inc/class.importexport_definition.inc.php index d579beebd0..2fc5af7e45 100644 --- a/importexport/inc/class.importexport_definition.inc.php +++ b/importexport/inc/class.importexport_definition.inc.php @@ -181,7 +181,7 @@ class importexport_definition implements importexport_iface_egw_record { private function set_options(array $_plugin_options) { // Check conditions foreach ( (Array)$_plugin_options['conditions'] as $key => $condition ) { - if(!$condition['string']) + if(!$condition['string'] && array_key_exists($key, $_plugin_options['conditions'])) { unset($_plugin_options['conditions'][$key]); }