From c4104eb32fe068961c83d5905816686637d4abc6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 1 Aug 2017 13:11:54 +0200 Subject: [PATCH] =?utf8?q?ShippedQty:=20=C3=9Cbergabe=20von=20Strings=20al?= =?utf8?q?s=20ids=20abfangen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Helper/ShippedQty.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/SL/Helper/ShippedQty.pm b/SL/Helper/ShippedQty.pm index 5135823e7..af2a4f47c 100644 --- a/SL/Helper/ShippedQty.pm +++ b/SL/Helper/ShippedQty.pm @@ -258,6 +258,7 @@ sub normalize_input { $self->objects($data); } else { die 'object or reference in data while expecting ids' if any { ref($_) } @$data; + die 'ids need to be numbers' if any { ! ($_ * 1) } @$data; $self->oe_ids($data); } -- 2.20.1