Fehler nicht mehrfach pushen.
[kivitendo-erp.git] / SL / Helper / Csv / Dispatcher.pm
index ababa01..230ac2b 100644 (file)
@@ -128,6 +128,8 @@ sub parse_profile {
 
   $self->_specs(\@specs);
 
+  $self->_csv->_push_error($self->errors);
+
   return ! $self->errors;
 }
 
@@ -157,8 +159,6 @@ sub _parse_profile {
     }
   }
 
-  $self->_csv->_push_error($self->errors);
-
   return \@specs;
 }