Kunden-Import mit business_id repariert.
authorBernd Bleßmann <bernd@kivitendo-premium.de>
Fri, 5 Apr 2013 10:39:34 +0000 (12:39 +0200)
committerBernd Bleßmann <bernd@kivitendo-premium.de>
Fri, 5 Apr 2013 10:41:18 +0000 (12:41 +0200)
Schreibfehler im Methodenaufruf.

SL/Controller/CsvImport/CustomerVendor.pm

index 757c52c..fba1ac4 100644 (file)
@@ -139,7 +139,7 @@ sub check_business {
   my $object = $entry->{object};
 
   # Check whether or not business ID is valid.
-  if ($object->business_id && !$self->businesss_by->{id}->{ $object->business_id }) {
+  if ($object->business_id && !$self->businesses_by->{id}->{ $object->business_id }) {
     push @{ $entry->{errors} }, $::locale->text('Error: Invalid business');
     return 0;
   }