Import/Export - Avoid error if definition doesn't have filter set

This commit is contained in:
nathangray 2017-06-26 10:44:33 -06:00
parent 4a9ce8e82f
commit 9743aa0eae

View File

@ -207,7 +207,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'])
{