From e28fec3f74b94f0795f14e7068de08381ffc5c2e Mon Sep 17 00:00:00 2001 From: nathangray Date: Mon, 26 Jun 2017 10:44:33 -0600 Subject: [PATCH] Import/Export - Avoid error if definition doesn't have filter set --- importexport/inc/class.importexport_export_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/importexport/inc/class.importexport_export_ui.inc.php b/importexport/inc/class.importexport_export_ui.inc.php index 6d7c6098bc..ea52226c29 100644 --- a/importexport/inc/class.importexport_export_ui.inc.php +++ b/importexport/inc/class.importexport_export_ui.inc.php @@ -208,7 +208,7 @@ class importexport_export_ui { if(!$content['plugin_selectors_html'] && !$content['plugin_selectors_template']) { $readonlys[$tabs]['selection_tab'] = true; } - $content['filter'] = $definition->filter; + $content['filter'] = (Array)$definition->filter; $content['filter']['fields'] = importexport_helper_functions::get_filter_fields($_appname, $selected_plugin); if(!$content['filter']['fields']) {