Lines 501-507
if ($op eq "additem") {
Link Here
|
501 |
|
501 |
|
502 |
# if barcode exists, don't create, but report The problem. |
502 |
# if barcode exists, don't create, but report The problem. |
503 |
unless ($exist_itemnumber) { |
503 |
unless ($exist_itemnumber) { |
504 |
my ( $oldbiblionumber, $oldbibnum, $oldbibitemnum ) = AddItemFromMarc( $record, $biblionumber ); |
504 |
my ( $oldbiblionumber, $oldbibnum, $oldbibitemnum ) = AddItemFromMarc( $record, $biblionumber, $dbh ); |
505 |
set_item_default_location($oldbibitemnum); |
505 |
set_item_default_location($oldbibitemnum); |
506 |
|
506 |
|
507 |
# Pushing the last created item cookie back |
507 |
# Pushing the last created item cookie back |
Lines 600-606
if ($op eq "additem") {
Link Here
|
600 |
|
600 |
|
601 |
# Adding the item |
601 |
# Adding the item |
602 |
if (!$exist_itemnumber) { |
602 |
if (!$exist_itemnumber) { |
603 |
my ($oldbiblionumber,$oldbibnum,$oldbibitemnum) = AddItemFromMarc($record,$biblionumber); |
603 |
my ($oldbiblionumber,$oldbibnum,$oldbibitemnum) = AddItemFromMarc( $record, $biblionumber, $dbh); |
604 |
set_item_default_location($oldbibitemnum); |
604 |
set_item_default_location($oldbibitemnum); |
605 |
|
605 |
|
606 |
# We count the item only if it was really added |
606 |
# We count the item only if it was really added |
607 |
- |
|
|