Lines 608-614
if ($op eq "additem") {
Link Here
|
608 |
} |
608 |
} |
609 |
my $item = GetItem( $itemnumber ); |
609 |
my $item = GetItem( $itemnumber ); |
610 |
my $olditemlost = $item->{'itemlost'}; |
610 |
my $olditemlost = $item->{'itemlost'}; |
611 |
my $newitemlost = $itemtosave->subfield('952','1'); |
611 |
|
|
|
612 |
my ($lost_tag,$lost_subfield) = GetMarcFromKohaField("items.itemlost",''); |
613 |
|
614 |
my $newitemlost = $itemtosave->subfield( $lost_tag, $lost_subfield ); |
612 |
if (($olditemlost eq '0' or $olditemlost eq '' ) and $newitemlost ge '1'){ |
615 |
if (($olditemlost eq '0' or $olditemlost eq '' ) and $newitemlost ge '1'){ |
613 |
LostItem($itemnumber,'MARK RETURNED'); |
616 |
LostItem($itemnumber,'MARK RETURNED'); |
614 |
} |
617 |
} |
615 |
- |
|
|