Don't wipe previous mapping if user went back a step

This commit is contained in:
Nathan Gray 2012-10-18 16:54:09 +00:00
parent 34f8f7db08
commit f300f52162

View File

@ -177,7 +177,7 @@ class importexport_wizard_basic_import_csv
$content['field_mapping'][$index] = $best_match;
}
}
} elseif($content['plugin_options']['csv_fields']) {
} elseif(!$content['csv_fields'] && $content['plugin_options']['csv_fields']) {
$content['csv_fields'] = $content['plugin_options']['csv_fields'];
}
return $GLOBALS['egw']->importexport_definitions_ui->get_step($content['step'],1);