From 41493e7c51d149e891f8fad66567f5bc4da87ae0 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 31 Oct 2011 16:30:57 +0000 Subject: [PATCH] Move preserve to allow for clearing conditions --- .../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 087ed6d30c..535bb359ef 100644 --- a/importexport/inc/class.importexport_wizard_basic_import_csv.inc.php +++ b/importexport/inc/class.importexport_wizard_basic_import_csv.inc.php @@ -375,6 +375,7 @@ class importexport_wizard_basic_import_csv if(!$content['conditions'] && $content['plugin_options']['conditions']) { $content['conditions'] = $content['plugin_options']['conditions']; } + $preserv = $content; foreach($content['field_mapping'] as $field) { $sel_options['string'][$field] = $this->mapping_fields[$field]; @@ -397,7 +398,6 @@ class importexport_wizard_basic_import_csv // Leave room for heading array_unshift($content['conditions'], false); - $preserv = $content; unset ($preserv['button']); return $this->step_templates[$content['step']]; }