From c6e285558e83b2c144cb483de00934df3c8dc7ce Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Fri, 11 Feb 2011 18:34:24 +0000 Subject: [PATCH] Fix for unable to clear translation field --- .../inc/class.importexport_wizard_basic_import_csv.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/importexport/inc/class.importexport_wizard_basic_import_csv.inc.php b/importexport/inc/class.importexport_wizard_basic_import_csv.inc.php index 3498300e8c..4d70975aee 100644 --- a/importexport/inc/class.importexport_wizard_basic_import_csv.inc.php +++ b/importexport/inc/class.importexport_wizard_basic_import_csv.inc.php @@ -259,6 +259,7 @@ class importexport_wizard_basic_import_csv { $content['msg'] = $this->steps['wizard_step50']; $content['step'] = 'wizard_step50'; + $preserv = $content; if(!$content['field_mapping'] && $content['plugin_options']) { $content['field_mapping'] = $content['plugin_options']['field_mapping']; @@ -293,7 +294,6 @@ class importexport_wizard_basic_import_csv $j++; } $sel_options['field_mapping'] = array('--NONE--' => lang('none')) + $this->mapping_fields; - $preserv = $content; unset ($preserv['button']); return $this->step_templates[$content['step']]; }