projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80e6898
)
CSV-Import: Fehlermeldungen anzeigen gefixt
author
Thomas Heck
<theck@linet-services.de>
Fri, 24 Aug 2012 12:05:21 +0000
(14:05 +0200)
committer
Thomas Heck
<theck@linet-services.de>
Fri, 24 Aug 2012 12:12:33 +0000
(14:12 +0200)
SL/Controller/CsvImport/Base.pm
patch
|
blob
|
history
diff --git
a/SL/Controller/CsvImport/Base.pm
b/SL/Controller/CsvImport/Base.pm
index
5aa6066
..
694d187
100644
(file)
--- a/
SL/Controller/CsvImport/Base.pm
+++ b/
SL/Controller/CsvImport/Base.pm
@@
-39,7
+39,7
@@
sub run {
$self->controller->errors([ $self->csv->errors ]) if $self->csv->errors;
- return
unless $self->csv->header
;
+ return
if ( !$self->csv->header || $self->csv->errors )
;
my $headers = { headers => [ grep { $profile->{$_} } @{ $self->csv->header } ] };
$headers->{methods} = [ map { $profile->{$_} } @{ $headers->{headers} } ];
@@
-328,3
+328,5
@@
sub fix_field_lengths {
}
1;
+
+