JBAS-980 Extra del. record sanity check in bib/auth linker
authorBill Erickson <berickxx@gmail.com>
Wed, 2 Dec 2015 21:38:26 +0000 (16:38 -0500)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
KCLS/linking/authority_control_fields.pl

index 577fedb..80dea4e 100755 (executable)
@@ -640,7 +640,7 @@ foreach my $rec_id (@records) {
 
     # get the record
     my $record = $e->retrieve_biblio_record_entry($rec_id);
-    next unless $record;
+    next unless $record && $record->deleted eq 'f';
 
     try {
         my $marc = MARC::Record->new_from_xml($record->marc());