From d1a280549ddfb23348aed9e2fd0b808780be85db 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 b8540753eb..640ef222f0 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.20.1