diff --git a/importexport/inc/class.importexport_definition.inc.php b/importexport/inc/class.importexport_definition.inc.php index 37f4b75310..5f61efbfe5 100644 --- a/importexport/inc/class.importexport_definition.inc.php +++ b/importexport/inc/class.importexport_definition.inc.php @@ -179,6 +179,13 @@ class importexport_definition implements importexport_iface_egw_record { * @param array $options */ private function set_options(array $_plugin_options) { + // Check conditions + foreach ( $_plugin_options['conditions'] as $key => $condition ) { + if(!$condition['string']) + { + unset($_plugin_options['conditions'][$key]); + } + } $this->definition['plugin_options'] = $_plugin_options; }