From 74dd4dc28157c4848539ae2a334af1f89d33a43d Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 14 Apr 2023 08:24:07 +0200 Subject: [PATCH] Bug 32418: Remove useless statement Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- cataloguing/additem.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl index 44cd0bc19c..5ba7ab5199 100755 --- a/cataloguing/additem.pl +++ b/cataloguing/additem.pl @@ -159,7 +159,6 @@ my ($template, $loggedinuser, $cookie) if ( $op eq 'edititem' || $op eq 'dupeitem' ) { my $item = Koha::Items->find($itemnumber); if ( !$item ) { - $itemnumber = undef; $template->param( biblio => $biblio, item_doesnt_exist => 1 ); output_and_exit( $input, $cookie, $template, 'unknown_item' ); } -- 2.39.5