[PATCH] C4::Biblio.pm: a variable was used undefined.

Sébastien Hinderer Sebastien.Hinderer at ens-lyon.org
Fri Oct 30 18:58:04 CET 2009


The fix is analogous to what is done for MARC21.
---
 C4/Biblio.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/C4/Biblio.pm b/C4/Biblio.pm
index cf48c91..161ec62 100644
--- a/C4/Biblio.pm
+++ b/C4/Biblio.pm
@@ -1120,7 +1120,7 @@ sub GetCOinSBiblio {
         $pubyear    = $record->subfield('210','d');
         $publisher  = $record->subfield('210','c');
         $isbn       = $record->subfield('010','a');
-        $issn       = $record->subfield('011','a');
+        $issn       = $record->subfield('011','a') || '';
     }else{
         # MARC21 need some improve
         my $fmts;
-- 
1.6.5


--HcAYCG3uE/tztfnV--


More information about the Koha-patches mailing list