mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-18 12:30:02 +02:00
Import/Export: Avoid "Undefined variable: filter" error
Correct files this time
(cherry picked from commit a7d52168b7
)
This commit is contained in:
@@ -93,9 +93,12 @@ 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'] );
|
||||
if($this->definition['filter'])
|
||||
{
|
||||
$filter = importexport_arrayxml::xml2array( $this->definition['filter'] );
|
||||
$this->definition['filter'] = $filter['root'];
|
||||
}
|
||||
}
|
||||
catch (Throwable $e)
|
||||
{
|
||||
error_log(__METHOD__ . " Error constructing definition " .
|
||||
|
Reference in New Issue
Block a user