From: Moritz Bunkus Date: Mon, 13 Dec 2010 10:01:17 +0000 (+0100) Subject: Lagertransfer: Falscher Spaltenname für Einheitenname X-Git-Tag: release-2.7.0beta1~188 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=17718a5a16c99ce8bfee6ba098ee7c0184b2fa5f;p=kivitendo-erp.git Lagertransfer: Falscher Spaltenname für Einheitenname --- diff --git a/SL/WH.pm b/SL/WH.pm index bf850fa30..3fbbfa4a5 100644 --- a/SL/WH.pm +++ b/SL/WH.pm @@ -79,7 +79,7 @@ sub transfer { my ($trans_id) = selectrow_query($::form, $::form->get_standard_dbh, qq|SELECT nextval('id')|); my $part = $objectify->($transfer, 'parts', 'SL::DB::Part'); - my $unit = $objectify->($transfer, 'unit', 'SL::DB::Unit', unit => $transfer->{unit}); + my $unit = $objectify->($transfer, 'unit', 'SL::DB::Unit', name => $transfer->{unit}); my $qty = $transfer->{qty}; my $src_bin = $objectify->($transfer, 'src_bin', 'SL::DB::Bin'); my $dst_bin = $objectify->($transfer, 'dst_bin', 'SL::DB::Bin');