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:
parent
40d014ec45
commit
74dd4dc281
1 changed files with 0 additions and 1 deletions
|
@ -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' );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue