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

(-)a/cataloguing/additem.pl (-2 / +1 lines)
Lines 378-384 if ($op eq "additem") { Link Here
378
    # check that there is no issue on this item before deletion.
378
    # check that there is no issue on this item before deletion.
379
    my $item = Koha::Items->find($itemnumber);
379
    my $item = Koha::Items->find($itemnumber);
380
    my $deleted = $item->safe_delete;
380
    my $deleted = $item->safe_delete;
381
    unless ( $deleted ) {
381
    if ( $deleted ) {
382
        print $input->redirect("additem.pl?biblionumber=$biblionumber&frameworkcode=$frameworkcode&searchid=$searchid");
382
        print $input->redirect("additem.pl?biblionumber=$biblionumber&frameworkcode=$frameworkcode&searchid=$searchid");
383
        exit;
383
        exit;
384
    }
384
    }
385
- 

Return to bug 30644