View | Details | Raw Unified | Return to bug 32418
Collapse All | Expand All

(-)a/cataloguing/additem.pl (-2 lines)
Lines 159-165 my ($template, $loggedinuser, $cookie) Link Here
159
if ( $op eq 'edititem' || $op eq 'dupeitem' ) {
159
if ( $op eq 'edititem' || $op eq 'dupeitem' ) {
160
    my $item = Koha::Items->find($itemnumber);
160
    my $item = Koha::Items->find($itemnumber);
161
    if ( !$item ) {
161
    if ( !$item ) {
162
        $itemnumber = undef;
163
        $template->param( biblio => $biblio, item_doesnt_exist => 1 );
162
        $template->param( biblio => $biblio, item_doesnt_exist => 1 );
164
        output_and_exit( $input, $cookie, $template, 'unknown_item' );
163
        output_and_exit( $input, $cookie, $template, 'unknown_item' );
165
    }
164
    }
166
- 

Return to bug 32418