]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Controller/CsvImport/Base.pm
%::myconfig dem Client javascript zur Verfügung stellen.
[mfinanz.git] / SL / Controller / CsvImport / Base.pm
index c94f1bac3337ce364d3fa49775debcf2537786fb..97126979053938ef43f41ee43bb1b37a8f5ddfcb 100644 (file)
@@ -59,7 +59,7 @@ sub run {
   $self->controller->raw_data_headers({ used => { }, headers => [ ] });
   $self->controller->info_headers({ used => { }, headers => [ ] });
 
   $self->controller->raw_data_headers({ used => { }, headers => [ ] });
   $self->controller->info_headers({ used => { }, headers => [ ] });
 
-  my @objects  = $self->csv->get_objects;
+  my $objects  = $self->csv->get_objects;
 
   $self->controller->track_progress(progress => 70);
 
 
   $self->controller->track_progress(progress => 70);
 
@@ -67,7 +67,7 @@ sub run {
 
   $self->controller->track_progress(progress => 80);
 
 
   $self->controller->track_progress(progress => 80);
 
-  $self->controller->data([ pairwise { { object => $a, raw_data => $b, errors => [], information => [], info_data => {} } } @objects, @raw_data ]);
+  $self->controller->data([ pairwise { { object => $a, raw_data => $b, errors => [], information => [], info_data => {} } } @$objects, @raw_data ]);
 
   $self->controller->track_progress(progress => 90);
 
 
   $self->controller->track_progress(progress => 90);