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

(-)a/misc/migration_tools/bulkmarcimport.pl (-2 / +3 lines)
Lines 245-251 RECORD: while ( ) { Link Here
245
            $id = GetRecordId( $marcrecord, $tagid, $subfieldid );
245
            $id = GetRecordId( $marcrecord, $tagid, $subfieldid );
246
            if ( $authorities && $marcFlavour ) {
246
            if ( $authorities && $marcFlavour ) {
247
                #Skip if authority in database is the same as the on in database
247
                #Skip if authority in database is the same as the on in database
248
                if ( $marcrecord->field('005')->data >= $record->field('005')->data ) {
248
                if ( $marcrecord->field('005') && $record->field('005') &&
249
                     $marcrecord->field('005')->data && $record->field('005')->data &&
250
                     $marcrecord->field('005')->data >= $record->field('005')->data ) {
249
                    if ($yamlfile) {
251
                    if ($yamlfile) {
250
                        $yamlhash->{$originalid}->{'authid'} = $id;
252
                        $yamlhash->{$originalid}->{'authid'} = $id;
251
253
252
- 

Return to bug 11412