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>
This commit is contained in:
Jonathan Druart 2023-04-14 08:24:07 +02:00 committed by Tomas Cohen Arazi
parent 40d014ec45
commit 74dd4dc281
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

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