diff --git a/importexport/inc/class.importexport_definition.inc.php b/importexport/inc/class.importexport_definition.inc.php index 5f61efbfe5..d579beebd0 100644 --- a/importexport/inc/class.importexport_definition.inc.php +++ b/importexport/inc/class.importexport_definition.inc.php @@ -180,7 +180,7 @@ class importexport_definition implements importexport_iface_egw_record { */ private function set_options(array $_plugin_options) { // Check conditions - foreach ( $_plugin_options['conditions'] as $key => $condition ) { + foreach ( (Array)$_plugin_options['conditions'] as $key => $condition ) { if(!$condition['string']) { unset($_plugin_options['conditions'][$key]);