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