Lines 475-488
if ($op eq "additem") {
Link Here
|
475 |
push @errors,"barcode_not_unique"; |
475 |
push @errors,"barcode_not_unique"; |
476 |
$current_item = $item->unblessed; # Restore edit form for the same item |
476 |
$current_item = $item->unblessed; # Restore edit form for the same item |
477 |
} else { |
477 |
} else { |
478 |
<<<<<<< HEAD |
|
|
479 |
my $newitemlost = $item->itemlost; |
478 |
my $newitemlost = $item->itemlost; |
480 |
======= |
|
|
481 |
my $newitem = ModItemFromMarc($itemtosave, $biblionumber, $itemnumber); |
482 |
$itemnumber = q{}; |
483 |
my $olditemlost = $item->itemlost; |
484 |
my $newitemlost = $newitem->{itemlost}; |
485 |
>>>>>>> 5b37193b6fe (Bug 20256: (QA follow-up) Redirect to record details page if user cannot edit this item) |
486 |
if ( $newitemlost && $newitemlost ge '1' && !$olditemlost ) { |
479 |
if ( $newitemlost && $newitemlost ge '1' && !$olditemlost ) { |
487 |
LostItem( $item->itemnumber, 'additem' ); |
480 |
LostItem( $item->itemnumber, 'additem' ); |
488 |
} |
481 |
} |
489 |
- |
|
|