Bug 32418: Remove useless statement

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 74dd4dc281)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
This commit is contained in:
Jonathan Druart 2023-04-14 08:24:07 +02:00 committed by Matt Blenkinsop
parent 98673dc9d4
commit 717715dd9e

View file

@ -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' );
}