Revert "Import/Export: Avoid "Undefined variable: filter" error"

This reverts commit d57df627
This commit is contained in:
nathangray 2021-06-10 09:44:13 -06:00
parent d57df627a7
commit c853bb0f84

View File

@ -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)
{