Lines 480-486
RECORD: while ( ) {
Link Here
|
480 |
C4::Biblio::_strip_item_fields($clone_record, ''); |
480 |
C4::Biblio::_strip_item_fields($clone_record, ''); |
481 |
# This sets the marc fields if there was an error, and also calls |
481 |
# This sets the marc fields if there was an error, and also calls |
482 |
# defer_marc_save. |
482 |
# defer_marc_save. |
483 |
ModBiblioMarc( $clone_record, $biblionumber ); |
483 |
ModBiblioMarc( $clone_record, $biblionumber ) if $insert; |
484 |
if ( $error_adding ) { |
484 |
if ( $error_adding ) { |
485 |
warn "ERROR: Adding items to bib $biblionumber failed: $error_adding"; |
485 |
warn "ERROR: Adding items to bib $biblionumber failed: $error_adding"; |
486 |
printlog({id=>$id||$originalid||$biblionumber, op=>"insertitem",status=>"ERROR"}) if ($logfile); |
486 |
printlog({id=>$id||$originalid||$biblionumber, op=>"insertitem",status=>"ERROR"}) if ($logfile); |