From: Moritz Bunkus Date: Wed, 12 Nov 2008 10:03:04 +0000 (+0000) Subject: Lokale Variablen auch als lokal deklarieren. X-Git-Tag: release-2.6.0beta2~241 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=daec8d7a3166d36db2b24a3e283211c192109c9a;p=kivitendo-erp.git Lokale Variablen auch als lokal deklarieren. --- diff --git a/SL/WH.pm b/SL/WH.pm index 713ca4371..70f1037c2 100644 --- a/SL/WH.pm +++ b/SL/WH.pm @@ -98,7 +98,7 @@ sub transfer { push @values, "$transfer->{comment}"; - $qty = $transfer->{qty}; + my $qty = $transfer->{qty}; if ($transfer->{unit}) { my $partunit = $partunits{$transfer->{parts_id}};