View | Details | Raw Unified | Return to bug 20811
Collapse All | Expand All

(-)a/misc/migration_tools/bulkmarcimport.pl (-2 / +1 lines)
Lines 451-457 RECORD: while ( ) { Link Here
451
                    $biblioitemnumber = Koha::Biblios->find( $biblionumber )->biblioitem->biblioitemnumber;
451
                    $biblioitemnumber = Koha::Biblios->find( $biblionumber )->biblioitem->biblioitemnumber;
452
                };
452
                };
453
                if ($update) {
453
                if ($update) {
454
                    eval { ( $biblionumber, $biblioitemnumber ) = ModBiblio( $record, $biblionumber, GetFrameworkCode($biblionumber) ) };
454
                    eval { ModBiblio( $record, $biblionumber, GetFrameworkCode($biblionumber) ) };
455
                    if ($@) {
455
                    if ($@) {
456
                        warn "ERROR: Edit biblio $biblionumber failed: $@\n";
456
                        warn "ERROR: Edit biblio $biblionumber failed: $@\n";
457
                        printlog( { id => $id || $originalid || $biblionumber, op => "update", status => "ERROR" } ) if ($logfile);
457
                        printlog( { id => $id || $originalid || $biblionumber, op => "update", status => "ERROR" } ) if ($logfile);
458
- 

Return to bug 20811