Set update_cat to saved value on first load

This commit is contained in:
Nathan Gray 2011-02-14 16:04:18 +00:00
parent 1cedf20503
commit 880dd678d1

View File

@ -191,6 +191,9 @@ class importexport_wizard_basic_import_csv
if(!$content['num_header_lines'] && $content['plugin_options']['num_header_lines']) { if(!$content['num_header_lines'] && $content['plugin_options']['num_header_lines']) {
$content['num_header_lines'] = $content['plugin_options']['num_header_lines']; $content['num_header_lines'] = $content['plugin_options']['num_header_lines'];
} }
if(!$content['update_cats'] && $content['plugin_options']['update_cats']) {
$content['update_cats'] = $content['plugin_options']['update_cats'];
}
$sel_options['charset'] = $GLOBALS['egw']->translation->get_installed_charsets()+ $sel_options['charset'] = $GLOBALS['egw']->translation->get_installed_charsets()+
array('utf-8' => 'utf-8 (Unicode)'); array('utf-8' => 'utf-8 (Unicode)');