Fix selection choice default

This commit is contained in:
Nathan Gray
2013-01-23 17:44:03 +00:00
parent 36e0b275c3
commit 31d717643c
2 changed files with 17 additions and 3 deletions

View File

@ -580,7 +580,11 @@ class importexport_helper_functions {
}
// Get field -> label map and initialize fields using wizard field order
$fields = $export_fields = $wizard_plugin->get_export_fields();
$fields = $export_fields = array();
if(method_exists($wizard_plugin, 'get_export_fields'))
{
$fields = $export_fields = $wizard_plugin->get_export_fields();
}
foreach($record_classname::$types as $type => $type_fields)
{