From c853bb0f84ad55a69119cab4884d45d34457f196 Mon Sep 17 00:00:00 2001 From: nathangray Date: Thu, 10 Jun 2021 09:44:13 -0600 Subject: [PATCH] Revert "Import/Export: Avoid "Undefined variable: filter" error" This reverts commit d57df627 --- importexport/inc/class.importexport_definition.inc.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/importexport/inc/class.importexport_definition.inc.php b/importexport/inc/class.importexport_definition.inc.php index 8626819bf8..1ede7bc30b 100644 --- a/importexport/inc/class.importexport_definition.inc.php +++ b/importexport/inc/class.importexport_definition.inc.php @@ -93,11 +93,8 @@ class importexport_definition implements importexport_iface_egw_record { { $options_data = importexport_arrayxml::xml2array( $this->definition['plugin_options'] ); $this->definition['plugin_options'] = (array)$options_data['root']; - if($this->definition['filter']) - { - $filter = importexport_arrayxml::xml2array( $this->definition['filter'] ); - $this->definition['filter'] = $filter['root']; - } + if($this->definition['filter']) $filter = importexport_arrayxml::xml2array( $this->definition['filter'] ); + $this->definition['filter'] = $filter['root']; } catch (Throwable $e) {