Revision 5fa7820b
Von Thomas Heck vor etwa 12 Jahren hinzugefügt
SL/Controller/CsvImport/Base.pm | ||
---|---|---|
39 | 39 |
|
40 | 40 |
$self->controller->errors([ $self->csv->errors ]) if $self->csv->errors; |
41 | 41 |
|
42 |
return unless $self->csv->header;
|
|
42 |
return if ( !$self->csv->header || $self->csv->errors ) ;
|
|
43 | 43 |
|
44 | 44 |
my $headers = { headers => [ grep { $profile->{$_} } @{ $self->csv->header } ] }; |
45 | 45 |
$headers->{methods} = [ map { $profile->{$_} } @{ $headers->{headers} } ]; |
... | ... | |
328 | 328 |
} |
329 | 329 |
|
330 | 330 |
1; |
331 |
|
|
332 |
|
Auch abrufbar als: Unified diff
CSV-Import: Fehlermeldungen anzeigen gefixt