From: Jan Büren Date: Mon, 30 Nov 2015 13:04:16 +0000 (+0100) Subject: Kosmetik X-Git-Tag: release-3.4.1~567 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=e2cb496badd343f860266a59ecd668f3c4bd0d5b;p=kivitendo-erp.git Kosmetik --- diff --git a/SL/WH.pm b/SL/WH.pm index 8ff63f219..73e0365d9 100644 --- a/SL/WH.pm +++ b/SL/WH.pm @@ -977,13 +977,9 @@ $main::lxdebug->enter_sub(); $max_qty_parts += $ref->{sum}; $i++; if (($ref->{chargenumber} || $ref->{bestbefore}) && $ref->{sum} != 0){ - $error=1; + $error = 1; } } - #if ($i < 1){ - # $error = 2; - #} - $main::lxdebug->leave_sub(); return ($max_qty_parts, $error);