mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Revert "Import/Export: Avoid "Undefined variable: filter" error"
This reverts commitd57df627
(cherry picked from commitc853bb0f84
)
This commit is contained in:
parent
1586bbd66a
commit
5ec39458af
@ -93,12 +93,9 @@ class importexport_definition implements importexport_iface_egw_record {
|
|||||||
{
|
{
|
||||||
$options_data = importexport_arrayxml::xml2array( $this->definition['plugin_options'] );
|
$options_data = importexport_arrayxml::xml2array( $this->definition['plugin_options'] );
|
||||||
$this->definition['plugin_options'] = (array)$options_data['root'];
|
$this->definition['plugin_options'] = (array)$options_data['root'];
|
||||||
if($this->definition['filter'])
|
if($this->definition['filter']) $filter = importexport_arrayxml::xml2array( $this->definition['filter'] );
|
||||||
{
|
|
||||||
$filter = importexport_arrayxml::xml2array( $this->definition['filter'] );
|
|
||||||
$this->definition['filter'] = $filter['root'];
|
$this->definition['filter'] = $filter['root'];
|
||||||
}
|
}
|
||||||
}
|
|
||||||
catch (Throwable $e)
|
catch (Throwable $e)
|
||||||
{
|
{
|
||||||
error_log(__METHOD__ . " Error constructing definition " .
|
error_log(__METHOD__ . " Error constructing definition " .
|
||||||
|
Loading…
Reference in New Issue
Block a user