forked from extern/egroupware
Avoid Illegal string offset 'no_notification' warning if definition has no options defined
This commit is contained in:
parent
9968cae585
commit
6b0ca25de5
@ -83,7 +83,7 @@ class importexport_definition implements importexport_iface_egw_record {
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
$options_data = importexport_arrayxml::xml2array( $this->definition['plugin_options'] );
|
$options_data = importexport_arrayxml::xml2array( $this->definition['plugin_options'] );
|
||||||
$this->definition['plugin_options'] = $options_data['root'];
|
$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'];
|
$this->definition['filter'] = $filter['root'];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user