quell warning if no Koha bib ID found
authorGalen Charlton <gmc@esilibrary.com>
Wed, 9 Dec 2009 13:52:47 +0000 (13:52 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 9 Dec 2009 13:52:47 +0000 (13:52 +0000)
fingerprinter

index 8c2b6dc..93df981 100755 (executable)
@@ -325,7 +325,7 @@ sub dump_fingerprints {
         }
     }
 
-    if ($conf->{fingerprints}{koha_bib_id}) {
+    if ($conf->{fingerprints}{koha_bib_id} and exists $marc->{koha_bib_id}) {
         print OF join("\t", $marc->{score}, $marc->{id}, "z_koha_bib_id",
                       $marc->{item_form}, $marc->{date1},
                       $marc->{record_type},