From 616c058055dd98ab63f79f2e42cbf959f466b6ae Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 11 Sep 2020 09:11:47 -0400 Subject: [PATCH] Bug 20256: (QA follow-up) Fix variable masking warning in additem.pl --- cataloguing/additem.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl index 1622f96ca2..81a743dc02 100755 --- a/cataloguing/additem.pl +++ b/cataloguing/additem.pl @@ -961,7 +961,7 @@ for my $library ( @$libraries ) { $library->{selected} = 1 if $library->{branchcode} eq $branch } -my $item = Koha::Items->find($itemnumber); +$item = Koha::Items->find($itemnumber); # We generate form, from actuel record @fields = (); -- 2.24.1 (Apple Git-126)