From 6b0ca25de5049084d582873a504e3df954d5858c Mon Sep 17 00:00:00 2001 From: nathangray Date: Thu, 21 Jul 2016 14:38:31 -0600 Subject: [PATCH] Avoid Illegal string offset 'no_notification' warning if definition has no options defined --- importexport/inc/class.importexport_definition.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/importexport/inc/class.importexport_definition.inc.php b/importexport/inc/class.importexport_definition.inc.php index 2b7500b929..37f4b75310 100644 --- a/importexport/inc/class.importexport_definition.inc.php +++ b/importexport/inc/class.importexport_definition.inc.php @@ -83,7 +83,7 @@ class importexport_definition implements importexport_iface_egw_record { try { $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'] ); $this->definition['filter'] = $filter['root']; }