From 86a253d0ae396ebb8131d5fe60dcb29d35d748ca Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Tue, 1 Aug 2017 12:56:06 +0200 Subject: [PATCH] =?utf8?q?sanitize=20=5Fupdate=5Fship=20/=20Pr=C3=BCfung?= =?utf8?q?=20auf=20form->id?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Andernfalls wird ein Fehler auf undefined integer geworfen und bspw. das Erfassen von neuen Aufträge ist nicht mehr möglich. --- bin/mozilla/io.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index d6c09ce1e..eab839857 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -1670,6 +1670,7 @@ sub _update_part_information { } sub _update_ship { + return unless $::form->{id}; my $helper = SL::Helper::ShippedQty->new->calculate($::form->{id}); for my $i (1..$::form->{rowcount}) { -- 2.20.1