From eeda69071fedfdc297c5a75442f50cf35266911e Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 30 May 2011 17:51:57 +0000 Subject: [PATCH] Pass definition to plugin --- importexport/inc/class.importexport_export_ui.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/importexport/inc/class.importexport_export_ui.inc.php b/importexport/inc/class.importexport_export_ui.inc.php index 0aae945f53..f74b332e09 100644 --- a/importexport/inc/class.importexport_export_ui.inc.php +++ b/importexport/inc/class.importexport_export_ui.inc.php @@ -140,7 +140,7 @@ class importexport_export_ui { if(method_exists($plugin_object, 'get_selectors_html')) { $content['plugin_options_html'] = $plugin_object->get_options_html(); } else { - $options = $plugin_object->get_options_etpl(); + $options = $plugin_object->get_options_etpl($definition); if(is_array($options)) { $content['plugin_options_template'] = $options['name']; $content += (array)$options['content']; @@ -169,7 +169,7 @@ class importexport_export_ui { if(method_exists($plugin_object, 'get_selectors_html')) { $content['plugin_selectors_html'] = $plugin_object->get_selectors_html(); } else { - $options = $plugin_object->get_selectors_etpl(); + $options = $plugin_object->get_selectors_etpl($definition); if(is_array($options)) { $content['selection'] = $options['content']; $sel_options += (array)$options['sel_options'];