mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Move preserve to allow for clearing conditions
This commit is contained in:
parent
4449f65797
commit
41493e7c51
@ -375,6 +375,7 @@ class importexport_wizard_basic_import_csv
|
|||||||
if(!$content['conditions'] && $content['plugin_options']['conditions']) {
|
if(!$content['conditions'] && $content['plugin_options']['conditions']) {
|
||||||
$content['conditions'] = $content['plugin_options']['conditions'];
|
$content['conditions'] = $content['plugin_options']['conditions'];
|
||||||
}
|
}
|
||||||
|
$preserv = $content;
|
||||||
|
|
||||||
foreach($content['field_mapping'] as $field) {
|
foreach($content['field_mapping'] as $field) {
|
||||||
$sel_options['string'][$field] = $this->mapping_fields[$field];
|
$sel_options['string'][$field] = $this->mapping_fields[$field];
|
||||||
@ -397,7 +398,6 @@ class importexport_wizard_basic_import_csv
|
|||||||
// Leave room for heading
|
// Leave room for heading
|
||||||
array_unshift($content['conditions'], false);
|
array_unshift($content['conditions'], false);
|
||||||
|
|
||||||
$preserv = $content;
|
|
||||||
unset ($preserv['button']);
|
unset ($preserv['button']);
|
||||||
return $this->step_templates[$content['step']];
|
return $this->step_templates[$content['step']];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user