From e2cb496badd343f860266a59ecd668f3c4bd0d5b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Mon, 30 Nov 2015 14:04:16 +0100 Subject: [PATCH] Kosmetik --- SL/WH.pm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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); -- 2.20.1