mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
Avoid Illegal string offset 'no_notification' warning if definition has no options defined
This commit is contained in:
parent
3ab01052f4
commit
e77a81e10a
@ -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