Revision f9af406f
Von Moritz Bunkus vor mehr als 13 Jahren hinzugefügt
SL/Controller/CsvImport/Base.pm | ||
---|---|---|
30 | 30 |
strict_profile => 1, |
31 | 31 |
map { ( $_ => $self->controller->profile->get($_) ) } qw(sep_char escape_char quote_char), |
32 | 32 |
)); |
33 |
|
|
34 |
my $old_numberformat = $::myconfig{numberformat}; |
|
35 |
$::myconfig{numberformat} = $self->controller->profile->get('numberformat'); |
|
36 |
|
|
33 | 37 |
$self->csv->parse; |
34 | 38 |
|
35 | 39 |
$self->controller->errors([ $self->csv->errors ]) if $self->csv->errors; |
... | ... | |
50 | 54 |
$self->check_objects; |
51 | 55 |
$self->check_duplicates if $self->controller->profile->get('duplicates', 'no_check') ne 'no_check'; |
52 | 56 |
$self->fix_field_lengths; |
57 |
|
|
58 |
$::myconfig{numberformat} = $old_numberformat; |
|
53 | 59 |
} |
54 | 60 |
|
55 | 61 |
sub add_columns { |
Auch abrufbar als: Unified diff
Ausgewähltes Zahlenformat berücksichtigen