From: Bernd Bleßmann Date: Fri, 5 Apr 2013 10:39:34 +0000 (+0200) Subject: Kunden-Import mit business_id repariert. X-Git-Tag: release-3.1.0beta1~501 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=bd67eddc23aab1b3799c98fcda9a7f50ff16fc82;p=kivitendo-erp.git Kunden-Import mit business_id repariert. Schreibfehler im Methodenaufruf. --- diff --git a/SL/Controller/CsvImport/CustomerVendor.pm b/SL/Controller/CsvImport/CustomerVendor.pm index 757c52c5d..fba1ac448 100644 --- a/SL/Controller/CsvImport/CustomerVendor.pm +++ b/SL/Controller/CsvImport/CustomerVendor.pm @@ -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; }