diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl index b7508db1a7..d1db1d15f9 100755 --- a/cataloguing/additem.pl +++ b/cataloguing/additem.pl @@ -378,7 +378,7 @@ if ($op eq "additem") { # check that there is no issue on this item before deletion. my $item = Koha::Items->find($itemnumber); my $deleted = $item->safe_delete; - unless ( $deleted ) { + if ( $deleted ) { print $input->redirect("additem.pl?biblionumber=$biblionumber&frameworkcode=$frameworkcode&searchid=$searchid"); exit; }