From ba05fa2a2ef01374c8242c5ded59235abd8fa849 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 Signed-off-by: Martin Renvoize --- cataloguing/additem.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl index 4428fa8281..7800b6de7c 100755 --- a/cataloguing/additem.pl +++ b/cataloguing/additem.pl @@ -951,7 +951,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.20.1