Lines 521-534
if ($op eq "additem") {
Link Here
|
521 |
push @errors,"barcode_not_unique"; |
521 |
push @errors,"barcode_not_unique"; |
522 |
$current_item = $item->unblessed; # Restore edit form for the same item |
522 |
$current_item = $item->unblessed; # Restore edit form for the same item |
523 |
} else { |
523 |
} else { |
524 |
<<<<<<< HEAD |
|
|
525 |
my $newitemlost = $item->itemlost; |
524 |
my $newitemlost = $item->itemlost; |
526 |
======= |
|
|
527 |
my $newitem = ModItemFromMarc($itemtosave, $biblionumber, $itemnumber); |
528 |
$itemnumber = q{}; |
529 |
my $olditemlost = $item->itemlost; |
530 |
my $newitemlost = $newitem->{itemlost}; |
531 |
>>>>>>> 5b37193b6fe (Bug 20256: (QA follow-up) Redirect to record details page if user cannot edit this item) |
532 |
if ( $newitemlost && $newitemlost ge '1' && !$olditemlost ) { |
525 |
if ( $newitemlost && $newitemlost ge '1' && !$olditemlost ) { |
533 |
LostItem( $item->itemnumber, 'additem' ); |
526 |
LostItem( $item->itemnumber, 'additem' ); |
534 |
} |
527 |
} |
535 |
- |
|
|