diff --git a/tools/batchMod.pl b/tools/batchMod.pl index 1145f9b2c3..3cac3a7394 100755 --- a/tools/batchMod.pl +++ b/tools/batchMod.pl @@ -198,7 +198,7 @@ if ($op eq "action") { if ( $modified ) { eval { if ( my $item = ModItemFromMarc( $localmarcitem, $itemdata->{biblionumber}, $itemnumber ) ) { - LostItem($itemnumber, 'MARK RETURNED') if $item->{itemlost}; + LostItem($itemnumber, 'MARK RETURNED') if $item->{itemlost} and not $itemdata->{itemlost}; } }; }